[systemd-devel] x-initrd.mount + shutdown umount logic question
Colin Guthrie
gmane at colin.guthr.ie
Thu Jun 13 14:13:06 PDT 2013
Hi,
If a mount has the x-initrd.mount option shouldn't it be excluded from
the umount loop during shutdown?
I've looked at the code but I don't see where they would be excluded.
The reason I ask is that a user asked to exclude certain paths from the
umount logic, but I didn't like the patch he presented which was very
specific and one I'd have to carry downstream (it was used for live
ISOs). I'm sure it could be solved in other ways too but one thought was
the above option, but while I can see it's use in the fstab generator, I
can't see where this info is used in the umounting spree where /usr and
/ are excluded specifically rather than using the result of the
mount_in_initrd() function.
Any thoughts?
Col
For reference:
https://bugs.mageia.org/show_bug.cgi?id=8322
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel
mailing list