Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 12-03-2005, 03:51 AM   #1
Registered: Mar 2005
Posts: 284

Rep: Reputation: 33
Custom FDI Rule Needed - Any Help Much Appreciated

Hello forum,

Is anybody out there savvy enough to show me how to write my own custom fdi rule to put in the /usr/share/hal/fdi directory (Mandriva 2006) so that HAL's fstab-sync will not auto generate a new line in fstab for a USB device (after editing the line) whenever the USB device is plugged in or when the computer is rebooted?

Fstab-sync is supposed to be a feature for convenience but it works against me whenever I want to edit a line if fstab for my USB hard drive. Fstab-sync will erase the line I edited and auto generate the original line back in its place.

Typing "man fstab-sync" in a terminal window will explain all of this better than I can.

There are some sample policys (rules) in the /use/share/doc/hal-0.4.8/config directory but none of these seem to do what I want done because I have tried them.

I would like to be able to add "unmask=0022" in the line (in fstab) for the USB hard drive so that it will be readable. The USB hard drive has a ntfs file system and fstab-sync will always mount it as root by default, meaning I can't open it unless I am in root.

I know I am asking a lot but I certainly would appreciate it greatly if somebody would take some time to help me with this problem.

Thanks in advance,


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
MNF Custom RUle apoc63 Linux - Security 2 01-21-2005 02:34 PM
custom geforce video card--custom module? bandofmercy Linux - Hardware 3 10-14-2004 06:52 PM
Fasttrack sata and ft3xx.o and custom cernels build help needed. Andronik Linux - Hardware 2 01-08-2004 02:23 AM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 07:17 AM
Verify this rule please. Iptables help needed.. Pcghost Linux - Networking 4 02-18-2003 02:46 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:16 AM.

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