* BUG: umount --all-targets vs /etc/mtab
@ 2014-05-25 0:16 Ruediger Meier
2014-05-26 9:47 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Ruediger Meier @ 2014-05-25 0:16 UTC (permalink / raw)
To: util-linux
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"
Test mount/umount-alltargets fails.
cu,
Rudi
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BUG: umount --all-targets vs /etc/mtab
2014-05-25 0:16 BUG: umount --all-targets vs /etc/mtab Ruediger Meier
@ 2014-05-26 9:47 ` Karel Zak
0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2014-05-26 9:47 UTC (permalink / raw)
To: Ruediger Meier; +Cc: util-linux
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@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-26 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-25 0:16 BUG: umount --all-targets vs /etc/mtab Ruediger Meier
2014-05-26 9:47 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox