Package: mount
Version: 2.17.2-3.1
Severity: normal
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mount depends on:
ii libblkid1 2.17.2-3.1 block device id library
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libselinux1 2.0.96-1 SELinux runtime shared libraries
ii libsepol1 2.0.41-1 SELinux library for manipulating b
ii libuuid1 2.17.2-3.1 Universally Unique ID library
mount recommends no packages.
Versions of packages mount suggests:
pn nfs-common <none> (no description available)
-- no debconf information
Hello,
I still use floppy disks in certain contexts (i. e. for
certain small dedicated files I want to store away
separateley). Luckily, my two PCs still have "conventional"
floppy drives (/dev/fd0), configured like this:
,-----[ /bin/bash
]------------------------------------------------------------------
| ~ > grep floppy /etc/fstab
| /dev/fd0 /floppy vfat rw,user,noauto,async,noatime,noexec,fmask=137,dmask=037
0 0
| ~ >
`------------------------------------------------------------------------------------
and both my notebooks at least have USB floppy drives,
configured similarly with /dev/fd0 replaced by /dev/sdc:
,-----[ /bin/bash
]--------------------------------------------------------------
| ~ > grep floppy /etc/fstab
| /dev/sdc /floppy vfat user,noauto,async,noatime,noexec,fmask=137,dmask=037 0 0
| ~ >
`--------------------------------------------------------------------------------
All my computers are running the same software, a fairly up to
date Debian testing (squeeze).
Most of the access to the floppy drives is operated by special
bash scripts making extensive use of mount and umount.
So I was quite annoyed to find that presumably since the last
update of "mount" on 2010-06-24 (mount_2.17.2-3.1_i386.deb)
(I am not quite certain about the exact beginning!) these
scripts have been going wrong in a strange way:
After booting, everything is alright.
But after some time, "mount /floppy" simply does no longer do
what it is supposed to do. That is, it _seems_ to work
alright, i.e. the floppy drive apparently "reacts" producing
some noise, and the LEDs go on for a short time, but there is
no "effect" (contents of floppy not visible, floppy not
contained in /etc/mtab), although the exit code of the mount
command had been 0.
However, other programs like mtools and badblocks go on
working normally without any problems.
After rebooting the system, everything works fine again.
This phenomenon occurs regularly on all my systems, but
the time between booting and the first failure may vary.
I could not discover any rule whether it depends on what I am
doing in the meantime, but it seems that "doing nothing" is
innocuous. On the other hand, starting audacity seems to
have helped me twice in reproducing the problem; but this
may just be a coincidence.
There is no problem whatever with mounting other media.
I am joining a protocol of one of these occurrences:
During the whole of the following experiments, one and the
same floppy, containing a single file, was inserted into the
floppy drive.
Immediately after booting the computer, everything
worked as it should:
,-----[ /bin/bash ]-------------------------------------------
| ~ > date
| Thu Aug 12 08:12:30 CEST 2010
| ~ > mount /floppy
| ~ > echo $?
| 0
| ~ > ls -l /floppy/
| total 1
| -rw-r----- 1 petra petra 6 Aug 8 20:56 testfile.txt
| ~ > df -h
| Filesystem Size Used Avail Use% Mounted on
| /dev/sda1 72G 59G 10G 86% /
| tmpfs 252M 0 252M 0% /lib/init/rw
| udev 248M 160K 247M 1% /dev
| tmpfs 252M 0 252M 0% /dev/shm
| /dev/fd0 1.4M 512 1.4M 1% /floppy
| ~ > umount /floppy
| ~ > df -h
| Filesystem Size Used Avail Use% Mounted on
| /dev/sda1 72G 59G 10G 86% /
| tmpfs 252M 0 252M 0% /lib/init/rw
| udev 248M 160K 247M 1% /dev
| tmpfs 252M 0 252M 0% /dev/shm
| ~ > ls -l /floppy/
| total 0
| ~ > date
| Thu Aug 12 08:13:22 CEST 2010
| ~ >
`----------------------------------------------------------
Later (with the same floppy inserted into the floppy drive
as before):
,-----[ /bin/bash ]------------------------------------------
| ~ > date
| Thu Aug 12 09:57:48 CEST 2010
| ~ > mount /floppy
| ~ > echo $?
| 0
| ~ > ls -l /floppy/
| total 0
| ~ > df -h
| Filesystem Size Used Avail Use% Mounted on
| /dev/sda1 72G 59G 10G 86% /
| tmpfs 252M 0 252M 0% /lib/init/rw
| udev 248M 160K 247M 1% /dev
| tmpfs 252M 0 252M 0% /dev/shm
| ~ > cat /etc/mtab
| /dev/sda1 / ext3 rw,errors=remount-ro 0 0
| tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
| proc /proc proc rw,noexec,nosuid,nodev 0 0
| sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
| udev /dev tmpfs rw,mode=0755 0 0
| tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
| devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
| ~ > umount /floppy
| umount: /floppy is not mounted (according to mtab)
| ~ > df -h
| Filesystem Size Used Avail Use% Mounted on
| /dev/sda1 72G 59G 10G 86% /
| tmpfs 252M 0 252M 0% /lib/init/rw
| udev 248M 160K 247M 1% /dev
| tmpfs 252M 0 252M 0% /dev/shm
| ~ > date
| Thu Aug 12 09:58:52 CEST 2010
| ~ >
`------------------------------------------------------------
However, mtools and badblocks were still working fine
(the computer had not been rebooted!):
,-----[ /bin/bash ]---------------------------------------
| ~ > date
| Thu Aug 12 10:04:57 CEST 2010
| ~ > mdir
| Volume in drive A has no label
| Directory for A:/
|
| TESTFILE TXT 6 2010-08-08 18:56 testfile.txt
| 1 file 6 bytes
| 1 457 152 bytes free
|
| ~ > badblocks /dev/fd0
| ~ > badblocks -v /dev/fd0
| Checking blocks 0 to 1439
| Checking for bad blocks (read-only test): done
| Pass completed, 0 bad blocks found.
| ~ > mount /floppy
| ~ > ls -la /floppy/
| total 8
| drwxr-xr-x 2 root root 4096 Aug 7 2006 .
| drwxr-xr-x 27 root root 4096 Jun 14 07:45 ..
| ~ > umount /floppy
| umount: /floppy is not mounted (according to mtab)
| ~ > date
| Thu Aug 12 10:08:11 CEST 2010
| ~ >
`--------------------------------------------------------
The only entry in /var/log/messages referring to the
floppy drive during this session is the following line:
,-----[ /var/log/messages ]--------------------------------------------------
| Aug 12 08:07:45 prppc kernel: [ 1.099585] Floppy drive(s): fd0 is 1.44M
`----------------------------------------------------------------------------
Kind regards to the developers and maintainers
and many thanks for their work!
P. R.-P. from Berlin
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]