LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Still can't write to floppy - why? (https://www.linuxquestions.org/questions/linux-software-2/still-cant-write-to-floppy-why-198652/)

jhecht 06-28-2004 10:13 AM

Still can't write to floppy - why?
 
I've still got a problem that my floppy is recognized as read-only, even though the 'puter formatted it (DOS). This is in Slackware 9.1, with Gnome desktop.

I've looked at /etc/fstab & /etc/mtab and it seems the floppy is listed correctly. I get an 'invalid parameters' message when I try to drag-n-drop onto the floppy desktop icon.

In fstab, the line for the floppy reads:
/dev/fd0 /mnt/floppy auto noauto,owner 0 0

In mtab, the line for the floppy reads:
/dev/fd0 /mnt/floppy umsdos rw,nosuid,nodev 0 0

Can anyone help me with this? It would be VERY useful to be able to write to floppy!
Also, if I change 'noauto' to 'auto' in fstab, will the floppy auto mount? And if so, does the same apply to the CD?

TIA for your help!

RolledOat 06-28-2004 10:57 AM

You will want the fstab line to read
noauto,user
instead of
noauto,owner

Right now, only the owner (probably root) can write to it, and yes, the auto means to automatically mount, but I never use it.

RO

jhecht 06-28-2004 11:02 AM

Quote:

Originally posted by RolledOat
You will want the fstab line to read
noauto,user
instead of
noauto,owner

Right now, only the owner (probably root) can write to it, and yes, the auto means to automatically mount, but I never use it.

RO

But, but - I am root - this is an experimental machine, I am the ONLY user. I will try the changes however. As I prefer to work from a desktop GUI (Gnome), I always want floppies and CD's to auto mount, and auto unmount. Is this possible?

UPDATE!
I tried writing those changes into fstab and re-booting. Nothing changed, I stll get 'invalid parameter' when doing a drag-n-drop to the floppy icon. Nor does the icon appear when I insert then floppy - a la Mac. Isn't that what auto mount is supposed to do?

fstab now reads:

/dev/hda1 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 auto,user,ro 0 0
/dev/fd0 /mnt/floppy auto auto,user 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Any comments, suggestions? Thanks!

RolledOat 06-28-2004 11:17 AM

It doesn't have to be root. Just for grins, if you right click on the floppy icon, properties, who is the owner. It may not be root, however, root could write to it, at least with vi and the w! command, but I regress. I think that the auto is automount at boot. I am not sure what the line should read like for supermount, which is dynamic mount. I do have mandrake installed on this machine, supermount enabled, and the floppy line there reads like this. Decoding it, and testing it, I can't help there...

none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso88
59-1,sync,codepage=850 0 0

(Note: it is all on one line)

RO

jhecht 06-28-2004 11:33 AM

Quote:

Originally posted by RolledOat
It doesn't have to be root. Just for grins, if you right click on the floppy icon, properties, who is the owner. It may not be root, however, root could write to it, at least with vi and the w! command, but I regress...
RO

I right-clicked on the floppy icon, selected 'properties', then selected the 'permissions' tab. Got a dialog line that said "Permissions for 'floppy' could not be determined."

I don't think I could use your fstab lines in my setup, but it's useful to know that 'supermount' is what I'm trying for. Thanks!

RolledOat 06-28-2004 11:51 AM

http://www.linuxquestions.org/questions/history/182229

shows how to test if you have supermount built into the kernel. One last stupid question thought...you don't have the floppy read/write tab in the read only position? Hey, gotta ask the stupid questions....:D

RO

jhecht 06-28-2004 12:36 PM

RO>you don't have the floppy read/write tab in the read only position? Hey, gotta ask the stupid questions....

That's not stupid - it's the first thing to check - and it was the first thing I checked before posting here. The tab is closed (no hole) which is the read-write position. Same as an audio cassette or vcr tape.


All times are GMT -5. The time now is 01:16 AM.