[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mounting floppies





members-request@kalamazoolinux.org wrote:
> 
> >I have the following problem that is causing me problems.
> 
> Yes, problems do tend to be problems. ;}

They certainly do...

> 
> >When mounting /dev/fd0 to /mnt the contents of the floppy is
> available.
> >But umounting it en remouting an other floppy gives me the same (old)
> content.
> 
> >Unfortunaly I did a sync on a not write protected floppy and that
> distroyed the contents by
> >rewriting the TOC of the old floppy onto the new one.
> 
> When you unmount a file system it should do a final sync, are you
> certain you unmounted before changing floppies?

Yes I did. And the first floppy was mounted read only (as the second was)

> 
> >This all happes on SuSE 6.3.
> 
> Kernel version? (uname -a)  What type of FDC?  In your boot messages
> should be a message about the FDC, something like "FDC 0 is a
> post-1991 82077".

SuSE 2.2.13

FD0 is a 1.44M
FDC 0 is a National Semiconductor PC87306

> 
> > Does someone know if this is a bug or how to flush the buffers that
> are likely causing this.
> 
> Do you ever see anything like:
> 
> VFS: Disk change detected on device XXXX

No, I do not.  Who or what is generating this message?

> 
> when you change floppy disks?  A controller should get a signal from
> the floppy drive when a disk change occurs, but some do not handle
> this feature.  If the system does not think the disk has changed
> things can get a little odd.  I've got a Win9x machine at the office
> that blows up pretty reliably if you use two different floppy disks
> within something like five minutes of each other, very annoying.
> 
> I also plug a cool little app "instant mounter" that lets you see
> which user mountable filesystems are mounted, and mount/unmount them
> with a single click.  Solves a simple problem very simply.
> http://guills.linuxatwork.at/instant.html

I just tried the following:

# umount /dev/mnt
# mount
..... no /dev/fd mounted
# mount -o ro -t msdos /dev/fd0 /mnt
# mount
..... /dev/fd0 on /mnt msdos (ro)
ls /mnt
.    ..     mmupdate.exe

#umount /mnt
#
put the disk in my w95 pc:
dir a:
Phorum     File Folder   22/05/2000

------
Of course, when I put the disk containing mmupdate.exe into the SuSE system en mount I get
# ls /mnt 
.   ..   mmupdate.exe

umounting and remouting another disk does not convince the system to view the right contents


Bert.