Linux versus floppy
irvm at ellijay.com wrote:
>
>
> On Monday 09 June 2003 08:18 am, Jerry Story wrote:
> >
> > Now it quit working completely. Used to be able to read it, but not
> > write to it. Now can't read, can't write, can't fix, don't have a clue.
>
> Hi Jerry:
>
> Linux (as did Unix) makes the assumption that the 'user' is not
> to be trusted to do things like mount disk drives, etc.
> Therefore the stock setup is usually overly paranoid about
> who has access to what.
>
> Here is how I have set things up, and I can read/write VFAT, MSDOS,
> EXT2, and Mac disks ok:
>
> 1. I have the directories /mnt/floppy, /mnt/cdrom, and /mnt/windows.
> 2. using applications/file tools/file manager (super user mode) ,
> look at permissions for /mnt. I have user: root, group: root, and
> User: Show Entries, Write Entries, Enter checked.
> Group: Show Entries, Enter checked
> Others: Show Entries, Enter checked
>
> Permissions on /mnt/floppy are: User: root, Group: root,
> Show Entries, Write Entries, Enter checked for all three (User, Group,
> Others)
>
> Just to be sure, as root, issue: umount /mnt/floppy
>
> Now, as root, edit /etc/fstab.
> The line refering to /mnt/floppy looks like this:
> /dev/fd0 /mnt/floppy auto users
> That will allow you to mount / unmount disks as a user.
>
> For convenience, I would then right click on the desktop, select
> Create New / Floppy Device, give it a name "floppy", and select
> from the Device tab Device /dev/fd0 (mnt/floppy).
>
> Then you should be able to just click on the "floppy" icon and
> aujtomatically mount any disk which is in the disk drive, regardless
> of the file type. And just drag and drop files there to be stored.
>
> Remember that disk writes are buffered, so it's necessary to unmount
> a disk before removing it. Just right click on the icon and select
> "unmount"
> from the menu.
>
> Hope this helps,
> Irv
This is what I had in my /etc/fstab file:
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb7 /home ext3 defaults 1 2
/mnt/cdrom /mnt/cdrom supermount
dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0
/mnt/floppy /mnt/floppy supermount
dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,sync,codepage=850 0
0
/dev/hda1 /mnt/windows vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
/dev/hdb6 /usr ext3 defaults 1 2
/dev/hdb5 swap swap defaults 0 0
I added:
/dev/fd0 /mnt/floppy auto users
Is this correct?
Jerry Story
|
Not Categorized, Please Help
|
|