1. Linux versus floppy

I gotta problem with writing to the floppy with Linux. The facts are:

-- I'm using Mandrake 8.2.
-- Reading from floppy is no problem.
-- When I try to write to floppy, it seems to start to write but 
keyboard and mouse go dead, and I can't do anything except reboot.
-- Permissions as shown with right click --> properties are okay.
-- No problem writing to floppy with Windows NT4. (I transfer stuff from 
Linux to a Windows directory and then transfer it from Windows to 
floppy.)

What's happening?  How can I fix this?


Jerry Story

new topic     » topic index » view message » categorize

2. Re: Linux versus floppy

Possibly on a Linux board?  blink

Bernie Ryan wrote:

>
>
>Jerry:
>  If you did not change anything in the config files you should be able to
>  be reboot and go back to being able to read the floppy.
>  Have you tried using the KDE or Gnome to use the floppy.
>  I think Irv uses the same OS that you have, and he maybe able
>  to help you. I don't have any system running Linux at the
>  present time so I'am having a hard time trying to remember what
>  could be your problem. I use RedHat and am not completely
>  familar with your OS configuration. I can't believe that there
>  hasn't been anyone else responding to your posts. Where are
>  all the experts when you need them.
>
>Bernie
>
>
>
>TOPICA - Start your own email discussion group. FREE!
>
>

-- 
     |\      _,,,---,,_
    /,`.-'`'    -.  ;-;;,_
   |,4-  ) )-,_..;\ (  `'-'
  '---''(_/--'  `-'\_)`-'\_)

new topic     » goto parent     » topic index » view message » categorize

3. 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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Linux versus floppy

On Monday 09 June 2003 02:28 pm, you wrote:
Jerry Story wrote:

> 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?

Yes, but you need to remove the other reference to /mnt/floppy
I don't exactly know what supermount is supposed to do, but I 
can tell you that it doesn't work for me. 

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

5. Re: Linux versus floppy

On Tue, Jun 10, 2003 at 03:20:41AM +0000, Jerry Story wrote:
<snip>
> Now I have two desktop icons for floppy: the original and the one I 
> made.
> 
> When I click on the original, it brings up Konqueror for floppy but 
> doesn't show what is on the floppy, and I know the floppy has stuff on 
> it, and it's not write-protected.
> 
> When I click on the new icon, it doesn't do anything except it gives a 
> message complaining about no filesystem type specified.
> 
> I think I may have destroyed /dev/fd0. It's still there but it is empty.
> 
> 
> Jerry Story
> 

try typing this from the command line as root:

mount -t msdos -o rw /dev/fd0 /mnt/floppy
ls /mnt/floppy
touch /mnt/floppy/testfile.123

If the above fails, then its either a bad floppy, bad floppy drive, bad
floppy driver, or bad filesystem driver.

jbrown

-- 
 /"\  ASCII ribbon              | http://www.geocities.com/jbrown1050/
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   |

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu