Hm, I didn't think of that when I tried it. IIRC the redbook did mention
to replace the /etc/mtab on the / disk with a sym-link but didn't
mention to also replace it on the RW disk that is bind mounted. So
that's keeping my /etc from umount.

Also, I did replace it once and found the boot.rootfsck to remove the
mtab (or the link to /proc/mounts) and recreate a new mtab. Yes, that
was before the / went RO. After that a link can't be removed obviously.

Berry.


Op 10-08-10 12:26, Richard Troth schreef:
> To get /etc unmounted, you need to make /etc/mtab a sym-link to
> something outside of that filesystem.  Sym-linking /proc/mounts as
> /etc/mtab is the most common way to do this.  'umount' needs to be
> able to do its work without the deadlock of "mtab" being open when it
> makes the system call.  So good practice is to replace /etc/mtab as a
> stand alone file with a sym-link to /proc/mounts.
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to