clone 628534 -1
retitle -1 Uses unavailable mount option and hides mount error output
reassign 628534 libfuse2
thanks

#include <hallo.h>
* Chris Dos [Fri, Jun 03 2011, 10:07:49AM]:
> I can also confirm this bug.  I booted to single user mode, remounted / read 
> only, tried to mount my windows
> partition and it mounted with no problems.  Unmounted the windows partition, 
> remounted / read write, and I
> could no longer mount the windows partition.  I've very impressed that Mario 
> was able to figure out how this
> bug worked.  I spent hours trying to figure out why I could not mount NTFS 
> partitions to no avail until I came
> across this bug report.

The original strace output hides the most interesting stuff. Actually,
it's libfuse hiding information because it deliberately redirects mount
error output.

[pid 16618] write(2, "/bin/mount: unrecognized option '--no-canonicalize'\n", 
52) = -1 EBADF (Bad file descriptor)
[pid 16618] open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/util-linux-ng.mo", 
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16618] open("/usr/share/locale/en_US.utf8/LC_MESSAGES/util-linux-ng.mo", 
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16618] open("/usr/share/locale/en_US/LC_MESSAGES/util-linux-ng.mo", 
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16618] open("/usr/share/locale/en.UTF-8/LC_MESSAGES/util-linux-ng.mo", 
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16618] open("/usr/share/locale/en.utf8/LC_MESSAGES/util-linux-ng.mo", 
O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 16618] open("/usr/share/locale/en/LC_MESSAGES/util-linux-ng.mo", O_RDONLY) 
= -1 ENOENT (No such file or directory)
[pid 16618] write(2, "Usage: mount -V                 : print version\n       
mount -h                 : print this help\n       mount                    : 
list mounted filesystems\n       mount -l                 : idem, including 
volume labels\nSo far the informational part. Next the mounting.\nThe command 
is `mount [-t fstype] something somewhere'.\nDetails found in /etc/fstab may be 
omitted.\n       mount -a [-t|-O] ...     : mount all stuff from /etc/fstab\n   
    mount device             : mount device at the known place\n       mount 
directory          : mount known device here\n       mount -t type dev dir    : 
ordinary mount command\nNote that one does not really mount a device, one 
mounts\na filesystem (of the given type) found on the device.\nOne can also 
mount an already visible directory tree elsewhere:\n       mount --bind olddir 
newdir\nor move a subtree:\n       mount --move olddir newdir\nOne can change 
the type of mount containing the directory dir:\n       mount --make-shared 
dir\n       mount --make-slave dir\n       mount --make-private dir\n       
mount --make-unbindable dir\nOne can change the type of all the mounts in a 
mount subtree\ncontaining the directory dir:\n       mount --make-rshared dir\n 
      mount --make-rslave dir\n       mount --make-rprivate dir\n       mount 
--make-runbindable dir\nA device can be given by name, say /dev/hda1 or 
/dev/cdrom,\nor by label, using  -L label  or by uuid, using  -U uuid .\nOther 
options: [-nfFrsvw] [-o options] [-p passwdfd].\nFor many more details, say  
man 8 mount .\n", 1509) = -1 EBADF (Bad file descriptor)
[pid 16618] exit_group(1)               = ?

Regards,
Eduard.

-- 
<weasel> wenn es auf der Scheibenwelt neben dem Tod und dem Hogfather noch eine
        Person fuer die Schuld gaebe, dann waere das white.



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to