Re: [SuSE Linux] Floppy disk and FSTAB
Yes I did the same thing and put 2 lines in...... 1 for ext2 and one for msdos, but it's kinda cumbersome to have 2 mount points for 2 different formats of floppies. Is it possible to enter this into the fstab? /dev/fd0 /floppy ext2 defaults 0 0 /dev/fd0 /floppy msdos defaults 0 0 Both filesystems pointing to the same mount point? A.Crowe@OPENMAIL1.TSEA-E.sukepabe.simis.com wrote:
Hi,
Add a line something like
/dev/fd0 /floppy ext2 defaults 0 0
I tend to have two lines in my /etc/fstab - one for FAT FDs and one for ext2 FDs. I dunno if it's absolutely necessary, but it works for me. The line for FAT disks looks something like
/dev/fd0 /mnt/floppy vfat defaults 0 0
Alan.
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Thu, 4 Feb 1999, Zulfiqar Naushad wrote:
Yes I did the same thing and put 2 lines in......
1 for ext2 and one for msdos, but it's kinda cumbersome to have 2 mount points for 2 different formats of floppies.
Is it possible to enter this into the fstab?
/dev/fd0 /floppy ext2 defaults 0 0 /dev/fd0 /floppy msdos defaults 0 0
Both filesystems pointing to the same mount point?
No, this does not work. I suspect, that mount will alway use ext2 as the filesystem to mount. You should change "defaults" to "rw,user,noauto", otherwise the system will try to mount the floppy on each reboot. Bye, LenZ ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH <A HREF="mailto:grimmer@suse.de">mailto:grimmer@suse.de</A> Schanzaeckerstr. 10 <A HREF="http://www.suse.de/~grimmer"><A HREF="http://www.suse.de/~grimmer</A">http://www.suse.de/~grimmer</A</A>> 90443 Nuernberg, Germany - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
One more thing..... When I do get the floppy mounted and go to the mount point and type ls, it shows the files on the floppy, however, when I remove the floppy and ls again, it still shows the cached info from the previous floppy. Is there a way where it doesn't cache floppy info? Lenz Grimmer wrote:
Hi,
On Thu, 4 Feb 1999, Zulfiqar Naushad wrote:
Yes I did the same thing and put 2 lines in......
1 for ext2 and one for msdos, but it's kinda cumbersome to have 2 mount points for 2 different formats of floppies.
Is it possible to enter this into the fstab?
/dev/fd0 /floppy ext2 defaults 0 0 /dev/fd0 /floppy msdos defaults 0 0
Both filesystems pointing to the same mount point?
No, this does not work. I suspect, that mount will alway use ext2 as the filesystem to mount. You should change "defaults" to "rw,user,noauto", otherwise the system will try to mount the floppy on each reboot.
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Hi, On Thu, 4 Feb 1999, Zulfiqar Naushad wrote:
When I do get the floppy mounted and go to the mount point and type ls, it shows the files on the floppy, however, when I remove the floppy and ls again, it still shows the cached info from the previous floppy. Is there a way where it doesn't cache floppy info?
Yes - unmount it before. If you don't do that, you might get a corrupted floppy filesystem. You will notice, that Linux will write the changes to the floppy, as soon as is gets unmounted. Bye, LenZ ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH <A HREF="mailto:grimmer@suse.de">mailto:grimmer@suse.de</A> Schanzaeckerstr. 10 <A HREF="http://www.suse.de/~grimmer"><A HREF="http://www.suse.de/~grimmer</A">http://www.suse.de/~grimmer</A</A>> 90443 Nuernberg, Germany - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (2)
-
grimmer@suse.de
-
zulfiqar@shaw.wave.ca