[Bug 549151] [NEW] Incorrect and undocumented behavior of mount (floppy)

Arseny Klimovsky arsac at mail.ru
Fri Mar 26 21:41:34 UTC 2010


Public bug reported:

Binary package hint: util-linux

I was trying to mount a floppy. in my /etc/fstab there is an entry
/dev/fd0                                       /media/floppy0  auto            rw,user,noauto,noexec                      0       0
But I actually forgot about this, and mounted it using commands
#mount /dev/fd0 /mnt/floppy
#mount -t msdos /dev/fd0 /mnt/floppy
#mount -t vfat /dev/fd0 /mnt/floppy
All these commands lead to just nothing. No messages are printed to console, syslog or dmesg. Filesytem was not mounted.
#mount /media/floppy0
After that I changed fstab entry to
/dev/fd0                                       /media/floppy0  vfat            rw,user,noauto,noexec                      0       0
And again, I couldn't mount floppy.
The only way I could mount was removing the entry from /etc/fstab and entering for example
#mount -t vfat /dev/fd0 /mnt/floppy
So, I can mention several bugs, if it is needed, I can create separate reports for each.
1) In man page for mount, I can't understand, what should be done, if there is a entry for device is /etc/fstab, and I typed arguments to mount it with other options to another mount point. I see, that the behavior is silently ignore options.
2) If I am right in 1), that the behavior is silently ignore options, I think that it is bad behavior. A message should be issued at least.
3) What errors happen, when I was trying to mount using fstab entry? There is at least reporting bug: no messages printed.

ProblemType: Bug
Architecture: amd64
Date: Sat Mar 27 00:18:38 2010
DistroRelease: Ubuntu 9.10
Package: mount 2.16-1ubuntu5
ProcEnviron:
 LANGUAGE=ru_RU.UTF-8
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
SourcePackage: util-linux
Uname: Linux 2.6.31-20-generic x86_64

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
Incorrect and undocumented behavior of mount (floppy)
https://bugs.launchpad.net/bugs/549151
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to util-linux in ubuntu.




More information about the kernel-bugs mailing list