bug-hurd
[Top][All Lists]
Advanced

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

Inappropriate output from /hurd/mtab


From: david
Subject: Inappropriate output from /hurd/mtab
Date: Thu, 28 Aug 2014 21:23:30 +0100

Running '/hurd/mtab /some/mountpoint/' correctly outputs the mount details.
However trying with a non-mountpoint still emits a result:

 ~:/hurd/mtab /any/dir/
 /dev/hd0s2 /any/dir ext2fs <various options>

where /dev/hd0s2 is '/'. This is probably not intended behaviour.


There's also a less important issue: when there's no mountpoint, stderr is
spammed by hundreds of lines of the form:

/hurd/mtab: /any/path/dev/hd3s12 No such file or directory
or
/hurd/mtab: /any/path/servers/socket/26 No such file or directory

It seems that the filepaths of all the files known to mtab (which seems to mean
the whole of /dev/ in particular) get appended to the target dir, and not found.
This information is unlikely to be useful to most people.

debian gnu/hurd sid, updated today. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]