Date: Tue, 5 Dec 2000 22:24:50 -0500 (EST) From: rjwohlfar@bigfoot.com Message-ID: <0562f07250606c0APP01@galaxyinternet.net> Subject: Re: [SLE] automount floppies On 5 Dec, Florian Kleedorfer wrote:
muzh schrieb:
I'm not quite sure what you mean. In my setup I have a line in /etc/fstab which says something like /dev/fd0 /floppy auto noauto,user 0 0
This enables any user to mount and umount /floppy In KDE or Gnome the user has merely to click on the icon to access the disk.
I'll try to describe my needs more clearly:
I'm looking for a way to use floppies without having to mount/umount them. GUIs don't really do anything else, they just save you some typing
The thing is, handling floppies under linux is hard for unexperienced users. Inconsistencies or data losses are almost ineviteable at first use.
there are packages/programs/patches that make using floppies easier such as the mtools(which don't do exactly what I need) or supermount, which is exactly what I need but which I haven't got to run nicely on my system (2.2.16) unfortunately.
So, again: I'll be glad to hear about your experiences with any tools as described above or any related hints whatsoever!
Thanx
Flo
I've used the 'autofs' package. It's available on the SuSE CD's (at least as far as 6.4). In addition to installing the package, you'll need to create two files: /etc/auto.mnt and /etc/auto.master. These are what the files look like on my system: /etc/auto.mnt # This is an automounter map and it has the following format # key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage cdrom -fstype=iso9660,ro :/dev/cdrom floppy -fstype=auto,umask=0 :/dev/fd0 /etc/auto.master # Format of this file: # mountpoint map options # For details of the format look at autofs(8). /mnt /etc/auto.mnt I indented the text for readability. Dn't indent when typing in the real file. If you do not have a CDROM drive, take out the "cdrom" line from 'auto.mnt'. 'autofs' will automatically mount the drive when you try to access it. The drive unmounts when you eject the disk. The floppy is mounted under "/mnt/floppy". That's what the "/mnt" in 'auto.master' is for. -- Robert Wohlfarth rjwohlfar@bigfoot.com "My theory's right. Reality needs to be fixed."