LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't Write to floppy (https://www.linuxquestions.org/questions/linux-newbie-8/cant-write-to-floppy-529115/)

foysol_bgd 02-14-2007 05:53 PM

Can't Write to floppy
 
Hi,

Can't write to floppy. The message is " Changing the attributes of files is not supported with Protocol devices"

I have tried to change the permission and was not able to. I am usging RedHat linux. Thanks.

btmiller 02-14-2007 07:08 PM

Does the floppy have a FAT filesystem on it? FAT doesn't support permissions so you can't chown/chmod stuff on them. You have to set the uid and gid parameters when mounting the file system (or set it up to be user mountable with the user option in /etc/fstab).

foysol_bgd 02-14-2007 11:21 PM

Btmiller,

Thanks for the reply. Would you please send me the command how to do this. I would like to use the contents of the floppy in windows machine as well. Thanks.

Regards,
Fazlur.

Hendronicus 02-15-2007 12:10 AM

What distribution are you using? I ask that because the commands may different for different ones. Also, have you heard of the mtools suite? They really are convient to use.
Anyway, here's something that may help.

Insert the floppy that you want to use.
To format it type:

mkdosfs /dev/fd0

Then, mount the floppy like this:

mount -t vfat /dev/fd0 /mnt/floppy

Make sure you mount point exists (that's the /mnt/floppy part of my example) first, but that's all there is to it.


All times are GMT -5. The time now is 02:38 PM.