LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-18-2004, 07:42 PM   #1
Makochild
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat9
Posts: 4

Rep: Reputation: 0
Read only file system


Hi, i just installed Debian (v3 r2) and i seem to have a problem with the file system. It seems that i cant copy anything to a floppy. Even when i chmod the file i wanna copy i still get the problem. Any ideas on how to correct this?

Thanks (please keep in mind i am a newb to linux)


Last edited by Makochild; 01-18-2004 at 07:46 PM.
 
Old 01-18-2004, 08:26 PM   #2
dishawjp
Member
 
Registered: Dec 2003
Location: Central New York
Distribution: RH/Fedora/SUSE
Posts: 64

Rep: Reputation: 15
A little more info would be helpful. What command are you using and is the floppy properly mounted and formatted.

The command should be something like "cp somefile /mnt/floppy" assuming that you are in the directory the file that you want to copy is.

Mounting the floppy would be (usually) "mount /dev/fd0"

Hope this helps, but if not, give a bit more info.

Jim Dishaw
 
Old 01-19-2004, 02:49 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Also, check the write protect tab on the floppy. That sounds like something I would do, and wouldn't think right away!
 
Old 01-19-2004, 03:21 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
hey mako. glad to see ya here. as well as checking if you're floppy is mounted and formatted correctly, you're right in that you probably have a permissions issue. but with mounted drives, the permissions can't be made by chmod. you need to edit your /etc/fstab to include the umask option. something that looks like:

/dev/fd0 /mnt/floppy vfat,ext2 noauto,owner,users,umask=0000,exec,rw 0 0

the umask=0000 tells linux to mount the floppy with read, write, and exec priveledges for all users. the users option allows all users to unmount the floppy drive.

anyway, after making these changes to your /etc/fstab, you'll need to unmount your floppy with the umount command (if the floppy was mounted during the editing of your fstab file) and remount it using the command:

mount /dev/fd0

Last edited by megaspaz; 01-19-2004 at 03:24 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
File system becomes read-only jkpchang Linux - Newbie 1 12-08-2004 08:23 AM
read-only file system znake Linux - General 3 05-24-2004 09:05 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM
read-only file system shimonim Linux - General 3 03-05-2001 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:00 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