Anton Aylward said the following on 06/10/2012 08:41 PM:
Carlos E. R. said the following on 06/10/2012 07:35 PM:
On 2012-06-09 02:53, Anton Aylward wrote:
I also wonder ... there are FS mounted on /home which is a mounted FS. Is the unmount -a in the shutdown smart enough to unwind properly or does it read though /etc/fstab from the begining
I have /--+ +- /home --+ +-- /anton --+ + -- /Documents + -- /Mail --+ + -- /current + -- /archive
Is unmount smart enough to work 'bottom up'?
I think so, but also fstab has to be in the right order during mount, so I suppose on umount it uses the inverse order.
While its a reasonable assumption, I'm not sure. The only thing I can find for sure is that the /etc/fstab has a field that controls the order in which the fsck is run.
To be fair, the ftab man page says The order of records in fstab is important because fsck(8), mount(8), and umount(8) sequentially iterate through fstab doing their thing. But that implies umount works though the same way that mount does, beginning to end, which is crazy. I suppose you could buqqer things up by setting the 6th field to be '2' and all others to be '1' so that the root FS gets fsck'd last :-) -- I suspect that, over time, all bureaucratic processes decay into cargo cults unless regularly challenged by a hostile reality. - Alan Rocker, 23-Nov-2011 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org