[Pkg-sysvinit-devel] Bug#338801: umountfs: should use /proc/mounts
Daniel Jacobowitz
drow at false.org
Sat Nov 19 21:20:18 UTC 2005
On Sat, Nov 19, 2005 at 11:17:36PM +0100, Thomas Hood wrote:
> Petter Reinholdtsen wrote:
> > - LANG=C sort -r -k 2 /etc/mtab |
> > + LANG=C sort -r -k 2 /proc/mounts |
>
> Is it not necessary to unmount bind mounts too?
Bind mounts will show up in both /etc/mtab and /proc/mounts. Rbind
mounts will show up once in /etc/mtab, and once per bound FS in
/proc/mounts.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Pkg-sysvinit-devel
mailing list