LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-24-2005, 12:19 AM   #1
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Rep: Reputation: 30
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.
 
Old 04-25-2005, 10:02 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Re: floppy files messed up

Quote:
Originally posted by Trio3b
[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 can take a guess that this was a result of you mounting something, probably the floppy, to the /mnt dir instead of to /mnt/floppy, thus showing the contents of the floppy in /mnt instead of the folders you would normally see.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to format a floppy - I think I messed something up mary Linux - General 5 11-05-2003 04:04 PM
help: copying files to a floppy RockmanExe Mandriva 1 11-04-2003 05:43 PM
Copying files to floppy Unknown_User Linux - General 3 08-01-2003 06:06 PM
CDROM CDR and Floppy all messed up! HwzrHlslndr Linux - Hardware 3 12-24-2002 10:01 PM
see files in a floppy athenerx Linux - Newbie 2 03-29-2002 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration