Click to See Complete Forum and Search --> : floppy disks and file properties


scoobydope
05-05-2001, 03:38 PM
what the ....?

why is it that everytime i transfer a file from my harddrive to a floppy, the file properties don't get transferred properly?

original file:
-rw-r--r-- 1 root root 21 Apr 27 21:45 identification


copy to the floppy, and i get
-rwxr-xr-x 1 root root 21 Apr 27 21:45 identification*

Notice the chmod?
is there some sort of flag or something to set in the cp or mv command to stop this wierd reconfiguration?

[ 05 May 2001: Message edited by: scoobydope ]

bdl
05-05-2001, 10:47 PM
It's the translation from ext2 -> vfat that's doing this. vfat does not support permissions like ext2 and causes the permissions to change when you write to the filesystem.

scoobydope
05-06-2001, 03:30 AM
I thought that might be it after seeing my /etc/fstab file.

so i looked the situation up and the cure seemed to be the following:

mkfs -t ext2 /dev/fd0 1440

which i ran, but even that that command seemed to work (the led went on on the floppy drive, and no errors were reported) now i can't seem to access the floppy.

/root]# cd /mnt/floppy
bash: cd: /mnt/floppy: Input/output error


that's all i keep getting.

Tyr-7BE
05-06-2001, 05:25 AM
Back to basics...is it mounted?