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

Phillip Susi psusi at ubuntu.com
Thu Oct 10 14:50:14 UTC 2013


This seems to have been fixed at some point, I now get: mount: only root
can do that.


** Changed in: util-linux (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/549151

Title:
  Incorrect and undocumented behavior of mount (floppy)

Status in “util-linux” package in Ubuntu:
  Fix Released

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/549151/+subscriptions



More information about the foundations-bugs mailing list