Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

system/2873: Remounting FAT floppies causes change of mount flags

From: <e(at)molioner.dk>
Date: Sun Aug 11 2002 - 10:52:04 EDT


>Number: 2873
>Category: system
>Synopsis: Remounting FAT floppies causes change of mount flags
>Confidential: no
net
>Environment:

	System      : OpenBSD 3.1
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:
Mounting a FAT/msdos floppy and then remounting it (-u, not by unmounting first) causes change of mount flags. Unmounting and then mounting again has no problems. It doesn't happen on FFS. I haven't tested anything else, including harddrives since I have no partitions to test on.

>How-To-Repeat:

$ sudo mount -t msdos /dev/fd0c /mnt
$ ls -l /mnt
total 729
-rwxr-xr-x  1 root  wheel     761 Sep 10  2001 autoexec.bat
-r-xr-xr-x  1 root  wheel   94770 May  6  1999 command.com
-rwxr-xr-x  1 root  wheel     476 Aug 22  2001 config.sys
-r-xr-xr-x  1 root  wheel  222390 May  6  1999 io.sys
-r-xr-xr-x  1 root  wheel       6 Aug 24  2001 msdos.sys
drwxr-xr-x  1 root  wheel    1536 Aug 24  2001 net
-rwxr-xr-x 1 root wheel 5648 May 3 2001 onedisk.exe -rwxr-xr-x 1 root wheel 45379 May 6 1999 smartdrv.exe $ mount
/dev/wd0a on / type ffs (local, softdep) [..]
/dev/fd0c on /mnt type msdos (local)
$ sudo mount -u /dev/fd0c /mnt
$ ls -l /mnt
total 729
-------r-x  1 3753891952  4252     761 Sep 10  2001 autoexec.bat
-------r-x  1 3753891952  4252   94770 May  6  1999 command.com
-------r-x  1 3753891952  4252     476 Aug 22  2001 config.sys
-------r-x  1 3753891952  4252  222390 May  6  1999 io.sys
-------r-x  1 3753891952  4252       6 Aug 24  2001 msdos.sys
d------r-x  1 3753891952  4252    1536 Aug 24  2001 net
-------r-x 1 3753891952 4252 5648 May 3 2001 onedisk.exe -------r-x 1 3753891952 4252 45379 May 6 1999 smartdrv.exe /dev/wd0a on / type ffs (local, softdep) [..]
/dev/fd0c on /mnt type msdos (local, uid=3753891980, gid=4252, mask=05, nowin95) $

>Fix:

	Workaround by not using remount (mount -u), use unmount and mount.
	No fix known.

>Release-Note:
Received on Thu Nov 7 15:24:45 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:36 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library