Le 22/01/2015 22:36, Adam Williamson a écrit :
There's a proposed anaconda patch ATM which would disallow mounting an existing partition as /boot or /var (or any subdirectory of those except /var/www ) without reformatting it. i.e., you can't reuse an existing partition with those mountpoints.
I reuse tons of sub-directory of /var
/var/lib/mysql /var/lib/libvirt/images /var/cache/mock /var/lib/mock
Ok, I don't really need them on install (I usually re-enable them after install)
I'm curious to know if anyone / many people do this, and if so, if there's a particularly good use case for it; if so, we might want to provide that feedback to the anaconda folks.
There are a few references to using shared /boot on Google, but not that many, and mostly for crazy multiboot configurations that we really don't want to be stuck dealing with. Does anyone know of a really sensible use case for this?
Yes, I use shared /boot for multi-boot (multiple fedora version).
I don't think disallowint mounting an existing partition without reformatting it is a good idea.
Remi.
For the record, this is actually re-hooking up code that was used in oldUI - that is, F17 and earlier - but in oldUI it just produced a warning you had to click through; the current patch flat disallows it. The main driving force for this is https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1074358 , as it keeps turning out to be annoyingly tricky to make sure that only newly- installed kernels have their initramfs regenerated when installing to a shared /boot partition.