floppy files messed up
Using MDK 10. (2.6.3) Somehow fstab and mtab got messed up but copied files from a working MDK PC to this one and could finally read but not write to floppy so tried to change permissions, but no go.
Noticed that under /mnt, floppy was only file assigned to user and not root like cdrom and usbdisk, so tried to change owner with chown, and I think I really screwed it up because this is what /mnt looks like now. The /mnt of the "working" PC does not look like this at all:
[root@192 root]# cd /mnt
[root@192 mnt]# ls -l
total 1435
-r-xr--r-- 1 root root 884 Jul 29 2002 advanced.msg*
-rwxr--r-- 1 root root 27057 Mar 29 2004 boot.msg*
-rwxr--r-- 1 root root 624733 Mar 29 2004 cdrom.rdz*
-r-xr--r-- 1 root root 1071 Nov 21 2001 help.msg*
-r-xr--r-- 1 root root 8072 Feb 25 2002 ldlinux.sys*
-rwxr--r-- 1 root root 1395 Mar 29 2004 syslinux.cfg*
-rwxr--r-- 1 root root 802095 Mar 29 2004 vmlinuz*
I thought /mnt should just have
/cdrom
/floppy
/usbdisk
well just rebooted and now
drwxrwxrwx 0 root root 0 Apr 23 22:28 cdrom/
drwxrwxrwx 2 **** user 7168 Apr 23 22:31 floppy/
drwxr-xr-x 2 root root 4096 Mar 2 15:05 usbdisk/
drwxr-xr-x 2 root root 4096 Mar 2 16:37 usbflash/
and can now write to the floppy. Guess I shouldn't complain, but what is going on and how can/should I change ownership of the floppy file in /mnt?
thanks
Last edited by Trio3b; 04-24-2005 at 12:32 AM.
|