LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-27-2004, 12:25 AM   #1
dhammika
Member
 
Registered: Dec 2003
Location: Colombo. (Sri Lanka)
Distribution: RH 9, RH AS 3, Fedora Core
Posts: 65

Rep: Reputation: 15
Unhappy mount vfat read/write problem


Hi all.....

my dev./hda look like this

Device Boot Start End Blocks Id System
/dev/hda1 1 1275 10241406 c Win95 FAT32 (LBA)
/dev/hda2 * 1276 1288 104422+ 83 Linux
/dev/hda3 1289 2308 8193150 83 Linux
/dev/hda4 2309 2433 1004062+ f Win95 Ext'd (LBA)
/dev/hda5 2309 2433 1004031 82 Linux swap

I mount

mount -t vfat /dev/hda1 /mnt/win_C

but the problem is when i want delete folders in win_C , it replies read only file system error

rm -fr test

rm: cannot remove `test': Read-only file system


any thing wrong here. why it is became a read only file system?..............


 
Old 08-27-2004, 03:23 AM   #2
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Hello!
Put this in your /etc/fstab file. When you boot next time you'll have permission to write/delete as normal user.

Code:
/dev/hda1               /mnt/win_C            vfat    umask=000,iocharset=iso8859-1,codepage=850,users        0 0
Hope this helped!
Boby

Last edited by Boby; 08-27-2004 at 03:25 AM.
 
Old 08-27-2004, 03:46 AM   #3
dhammika
Member
 
Registered: Dec 2003
Location: Colombo. (Sri Lanka)
Distribution: RH 9, RH AS 3, Fedora Core
Posts: 65

Original Poster
Rep: Reputation: 15
Hi ............Boby
I insert the line to /etc/fstab

But it is still a read only file system .. I cant create any thing in /mnt/win_C
still the same error


Any idea......
My kernel is RHEL 2.2.21-4.EL
 
Old 08-27-2004, 06:17 AM   #4
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Post the contents of your /etc/fstab file here please.
 
Old 08-27-2004, 06:25 AM   #5
dhammika
Member
 
Registered: Dec 2003
Location: Colombo. (Sri Lanka)
Distribution: RH 9, RH AS 3, Fedora Core
Posts: 65

Original Poster
Rep: Reputation: 15
Yes here it is

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/win_C vfat umask=000,iocharset=iso8859-1,codepage=850,users 0 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mount ISO Read/Write Johnsernickle Linux - Software 7 12-03-2016 12:11 AM
SAMBA - VFAT local mount for all user write access... dolvmin Linux - Software 13 12-21-2006 03:50 PM
Accessing vfat as read/write rknetsch Linux - General 4 06-17-2005 01:09 PM
fstab vfat read write prob gbarny Linux - General 3 06-20-2004 01:19 AM
user can't read/write (vfat) partition MykilX Slackware 6 07-04-2003 05:32 PM

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

All times are GMT -5. The time now is 07:59 AM.

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