[ale] HAL fstab-sync help
Jeff Lightner
jlightner at water.com
Thu Apr 19 09:42:35 EDT 2007
You can just add it to /etc/fstab. My read of the fstab-sync man page
is that only those options with the "managed" option shown are acted
upon by hald.
/dev/sd? /my/directory ext3 defaults
1 2
Once added to fstab just run "mount /my/directory" - this forces it to
look for the information in /etc/fstab so is a good way to check that it
is correct.
On your next boot it should mount automatically because it is in fstab.
By the way - ALWAYS save a copy of originals so you can back out:
cp -p /etc/fstab /etc/fstab.20070419
BEFORE you do the above edit.
I like the cp -p because it preserves the original permissions and
date/timestamp of the file so you know when it was actually created.
Appending the current date to the name lets you know when you saved it
so you have two different dates there. If something blows up you can
just copy it back over /etc/fstab to put it back the way it was.
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
To: ale at ale.org
David Hamm
Sent: Thursday, April 19, 2007 8:59 AM
To: ale at ale.org
Subject: [ale] HAL fstab-sync help
Hi,
I have a Fedora Core 4 box I'm working with and no Xwindows. I need to
add a
disk to it and can't find docs on the web that make it easy. Since it
is
running haldaemon it requires use of fstab-sync. Here's what I do when
there
is no hal.
fdisk /dev/sd?
mke2fs -j /dev/sd?
mount /dev/sd? /my/directory
I'd like the disk to mount at boot time.
Thanks in advance.
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list