How do I edit fstab-sync, will not open/run! RHLinux Enterprise
Hi, I'm a newbie & my linux knowledge so far is limited so excuse the simplicity but I pose this question:
I have partitioned & mounted a drive as follows [root@fs02 /]# mount /dev/cciss/c1d0p3 /HP/Backups this worked fine, however I have to mount this drive everytime i reboot the machine. So, I have learnt that the fstab has to be changed in order to permanently mount a disk - I opend the fstab and it tells me that fstab is edited with fstab-sync. So I read the man pages for fstab-sync but could not understand how to run this fstab-sync with the Daemon that the Man pages kept telling me about. I tried to open the fstab-sync here: /etc/hal/device.d this contained an executable "50-fstab-sync.hal" Which doesnt respond when I try and run/open this. So I checked its link which was linked to: /usr/sbin/fstab-sync Which is there but it also non-responsive when i try to run the executable! What is this HAL daemon, & how to I know if it exists on my machine?? What am I doing wrong? P.S - I am asking here because I cant find any relevant information in ANY thread on ANY site! please help!! :confused: |
I don't know anything about fstab-sync, but you can edit fstab with any text editor, and that will be fine. you can run "mount -a" to see if you got it right.
|
Also remember that some distros by default doesn't allow root to open X-server applications so you're better off opening it on the command line. Nano is a nice lightweight editor that ships, I think, with a lot of distros. So, as root, try:
nano /etc/fstab and you should be able to edit it. To quit, press CTRL-X and answer Y. That should be it. /CZ |
Will give it a go.
Ok, thanks count Zero, will try that this afternoon & will post results. :-)
|
Worked!! Thanks!!
Hey, Thanks a lot Count Zero. Managed to edit fstab through nano.
Thanks for your idea. I was worried about taking this shortcut, but obviously doesnt make a difference! |
Quote:
|
All times are GMT -5. The time now is 03:43 PM. |