Fedora Linux Support Community & Resources Center
  #1  
Old 27th January 2006, 03:13 AM
cwelch Offline
Registered User
 
Join Date: Jan 2006
Posts: 2
How to Make HAL mount vfat rw?

I have FC4 with kernel 2.6.14-1.1656-FC4smp HAL version 0.5.2

I have created a file, storage-policy-pers-3.fdi (posted at http://home.hiwaay.net/~cwelch/stora...icy-pers-3.fdi) and placed it in /etc/hal/fdi/policy for the purpose of directing HAL to write specific stuff to the /etc/fstab in particular, to mount /media/cdrecorder as /media/cdrom and /media/cdrecorder1 as /media/dvd and also to mount a vfat partion /win95 on /dev/hda2 read/write (rw).

The fstab created is posted at http://home.hiwaay.net/~cwelch/fstab.txt, the output from lshal is posted at http://home.hiwaay.net/~cwelch/lshal.txt

I know that storage-policy-pers-3.fdi is being read correctly in part because the cdrom drive and the dvd drive are mounting with the correct mount point. Also the lshal echos some of the directives I have entered with no problem.

HOWEVER, the vfat partition is NOT mounting rw for "all," it is mounted with just r-x permissions for "all."

I can mount the partition manually by the following 2 commands, and all is well, but I would like for the system to boot up in this "state."

#umount /win95
#mount -t vfat -o umask=0 /dev/hda2 /win95

Am I missing some option or directive in the storage-policy-pers-3.fdi file, or using improper or incomplete syntax, or is there a bug in FC4?
Reply With Quote
  #2  
Old 27th January 2006, 03:31 AM
hiberphoptik's Avatar
hiberphoptik Offline
Registered User
 
Join Date: Apr 2004
Posts: 1,186
i didnt have to do anything fancy for hal but i added this line manualy to fstab and i can read/write

/dev/hda1 /media/xp vfat auto,user,rw,exec,umask=0003,gid=users 0 0
Reply With Quote
  #3  
Old 27th January 2006, 04:05 AM
cwelch Offline
Registered User
 
Join Date: Jan 2006
Posts: 2
Problem Solved!

I edited my /etc/fstab as you directly and it works perfectly now, mounting rw upon boot.

Thank you very very much!
Reply With Quote
  #4  
Old 27th January 2006, 06:32 AM
fire-fly Offline
Registered User
 
Join Date: Aug 2004
Posts: 269
Quote:
Originally Posted by hiberphoptik
i didnt have to do anything fancy for hal but i added this line manualy to fstab and i can read/write

/dev/hda1 /media/xp vfat auto,user,rw,exec,umask=0003,gid=users 0 0
unless it is an external plugable device
Reply With Quote
  #5  
Old 27th January 2006, 07:32 AM
hiberphoptik's Avatar
hiberphoptik Offline
Registered User
 
Join Date: Apr 2004
Posts: 1,186
Quote:
Originally Posted by fire-fly
unless it is an external plugable device
huh?

i use external devices all the time without the need to manually edit or mount anything they always just work and i can read/write to them with no problems as a user (with the exception of the NTFS external drive which is read only)


hal-0.5.5.1-1.1.fc4.nr
Reply With Quote
  #6  
Old 27th January 2006, 11:15 AM
fire-fly Offline
Registered User
 
Join Date: Aug 2004
Posts: 269
sorry I plugable device with ntfs partition (the consequent of doing own stuff during office hour). By changing default option in /etc/fstab will not work.
Reply With Quote
Reply

Tags
hal, make, mount, vfat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount vfat partition with rw access. SplinterOfChaos Using Fedora 7 20th June 2009 03:30 AM
vFAT Mount issue advice please caf4926 Hardware & Laptops 3 25th January 2009 12:28 PM
vfat mount permissions crainey69 Using Fedora 3 31st July 2008 11:37 AM
Forgot to Mount my vfat partitions ziko Installation and Live Media 3 18th February 2008 08:19 PM
How can I mount my vfat partition (FC2)? RandomTask EOL (End Of Life) Versions 3 4th January 2005 07:53 PM


Current GMT-time: 13:18 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat