Bug 33110

Summary: bug with mount - unable to unmount a floppy, strange device name appears after mounting.
Product: Base System Reporter: allow <allow>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-STABLE   
Hardware: Any   
OS: Any   

Description allow 2001-12-23 14:00:02 UTC
After I mounted a msdos floppy on /mnt, read a file from it, and wrote another file to it, I tried to umount it, but I got the following error:
bash-2.05# umount /mnt
umount: /mnt: not currently mounted                                             
I typed 'mount', and saw:
bash-2.05# mount
/dev/ad0s1a on / (ufs, NFS exported, local)                                     
 on F (msdos, mounted by news)                                               
...
In addition, df -h output was:
bash-2.05# df -h
Filesystem    Size   Used  Avail Capacity  Mounted on
/dev/ad0s1a   3.9G   2.1G   1.4G    60%    /
              1.4M   210K   1.2M    15%    F                                    
...
I mounted this diskette using the following command:
mount -t msdos /dev/fd0 /mnt

Fix: 

none known
How-To-Repeat: I'm not sure whether I can reproduce the problem, but it was caused after typing the following command:
mount -t msdos /dev/fd0 /mnt, reading a 120kb file from the diskette, and writing 80kb file on it.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-09 14:08:59 UTC
State Changed
From-To: open->feedback

We need to know whether you can reproduce the problem. :-) 

Also, it would help if you could try to isolate the problem further. 
Specifically, is this a problem with mount_msdos or with floppy driver 
support.  Either way, I have folks in mind to whom this PR could be 
assigned, but I'd need to know which. 

Please copy your feedback to <bug-followup@freebsd.org>, using the 
subject line of this message.
Comment 2 allow 2002-01-09 18:11:19 UTC
Hi,
As far as I recall it happend with an MSDOS FS.
first I tried to unmount it using umount /mnt (it was mounted there),
then using umount /dev/fd0 (the device),
then umount -a -t msdos
and finally umount -a
- nothing helped.
It was still mounted, and I was still able to access the floppy contents
via /mnt.
I can't seem to reproduce the problem, since it was after more than 30
days of uptime, so I don't remember the action I did before mounting the
floppy, nor I've the original floppy anymore.
Uri.

On Wed, 9 Jan 2002 sheldonh@FreeBSD.org wrote:

> Synopsis: bug with mount - unable to unmount a floppy, strange device name appears after mounting.
>
> State-Changed-From-To: open->feedback
> State-Changed-By: sheldonh
> State-Changed-When: Wed Jan 9 06:08:59 PST 2002
> State-Changed-Why:
> We need to knowwhether you can reproduce the problem. :-)
>
> Also, it would help if you could try to isolate the problem further.
> Specifically, is this a problem with mount_msdos or with floppy driver
> support.Either way, I have folks in mind to whom this PR could be
> assigned, but I'd need to know which.
>
> Please copy your feedback to <bug-followup@freebsd.org>, using the
> subject line of this message.
>
>
> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33110
>
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-10 12:21:20 UTC
State Changed
From-To: feedback->closed

The originator is unable to reproduce the problem, and we 
don't know whether it's floppy-related or msdosfs-related, 
so we're at a dead end with respect to analysis.