From allow@darkserver.dyndns.org  Sun Dec 23 05:51:10 2001
Return-Path: <allow@darkserver.dyndns.org>
Received: from darkserver.dyndns.org (bzq-144-201.pop.bezeqint.net [212.179.144.201])
	by hub.freebsd.org (Postfix) with ESMTP id E3F4337B417
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Dec 2001 05:51:06 -0800 (PST)
Received: by darkserver.dyndns.org (Postfix, from userid 1000)
	id 8EDC11CB565; Sun, 23 Dec 2001 15:51:01 +0200 (IST)
Message-Id: <20011223135101.8EDC11CB565@darkserver.dyndns.org>
Date: Sun, 23 Dec 2001 15:51:01 +0200 (IST)
From: Uri Shaked <allow@darkserver.dyndns.org>
Reply-To: Uri Shaked <allow@darkserver.dyndns.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: bug with mount - unable to unmount a floppy, strange device name appears after mounting.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         33110
>Category:       kern
>Synopsis:       bug with mount - unable to unmount a floppy, strange device name appears after mounting.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 23 06:00:02 PST 2001
>Closed-Date:    Thu Jan 10 04:21:20 PST 2002
>Last-Modified:  Thu Jan 10 04:22:11 PST 2002
>Originator:     Uri Shaked
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
none
>Environment:
FreeBSD osh.homeip.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Oct 17 13:37:07 IST 2001     uri@osh.homeip.net:/usr/src/sys/compile/OSH  i386
>Description:
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
			  
>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.
>Fix:
none known
>Release-Note:
>Audit-Trail:
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 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. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33110 

From: Uri Shaked <allow@darkserver.dyndns.org>
To: sheldonh@FreeBSD.org
Cc: freebsd-bugs@FreeBSD.org, <bug-followup@freebsd.org>
Subject: Re: kern/33110: bug with mount - unable to unmount a floppy, strange
 device name appears after mounting.
Date: Wed, 9 Jan 2002 20:11:19 +0200 (IST)

 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
 >
 
State-Changed-From-To: feedback->closed 
State-Changed-By: sheldonh 
State-Changed-When: Thu Jan 10 04:21:20 PST 2002 
State-Changed-Why:  
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. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33110 
>Unformatted:
