Re: BUG: umount --all-targets vs /etc/mtab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 25, 2014 at 02:16:47AM +0200, Ruediger Meier wrote:
> Hi,
> 
> umount --all-targets does not work if /etc/mtab is a regular file and not a 
> link to /proc/mounts.
> 
> reproduce:
> $ sudo mv /etc/mtab  /etc/mtab.orig 
> $ sudo cp /proc/mounts /etc/mtab
> $ sudo make check TS_OPTS="--parallel=1 mount" 

 I have added a hint to the error message and umount man page that this
 feature is supported on systems with mtab symlink only.

> Test mount/umount-alltargets fails.

 fixed by:

    [ -L /etc/mtab ] || ts_skip "regular mtab"

 Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux