On Sunday 04 September 2005 04:17 am, Johan wrote:
| Hi,
|
| Mandriva LE 2005 and Mandriva 2006 Beta have this fstab-sync.
| This causes activating a lot of partitions which I do *not * want.
| This is from man page..
| DISABLING FSTAB-SYNC
| Automatic updates of the /etc/fstab file by the fstab-sync
| program from
| the HAL daemon can be disabled by changing the
| 50-fstab-sync.hal sym-
| link in /etc/hal/device.d directory to point to /bin/false
|
| This is from the /etc/hal/device.d directory...
| 2546465 lrwxrwxrwx 1 root root
| 28 Aug 1 01:47 50-fstab-sync.hal ->
| ../../../usr/sbin/fstab-sync*
|
| Reading my trusty Running Linux by O'Reilly (since RH 5.0)
| gives:
| ln -sf /lib/libc.so.5.1 /lib/libc.so.5
| to change the link - but this is not working in this case.
|
| Kindly please how may this be done ?
| Thanks
As root:
cd /etc/hal/device.d
ln -sf /bin/false 50-fstab-sync.hal
This should put a link to /bin/false in the current directory
(/etc/hal/device.d) named 50-fstab-sync.hal
The s parameter directs ln to create a symbolic link.
The f parameter directs ln to force the link, replacing any existing links
with the same name.
/bin/false is the full path to the target file (the file the link will point
to).
50-fstab-sync.hal is the name of the link
For more info on ln see 'man ln' in a terminal window.
HTH,
--
Ernie ([EMAIL PROTECTED])
ICQ 41060744
Registered Linux User 247790
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________