Make HAL Add DIsk to /etc/fstab
Kurt Wall
kwall
Sun Jan 23 09:36:15 PST 2005
On Sunday 23 January 2005 05:57, Klaus-Peter Schrage wrote:
> Kurt Wall wrote:
> > The first of probably many FC3 questions:
> >
> > How do I make HAL add /dev/hdb to /etc/fstab? Obviously, I can add
> > it myself, but what's The Right Way To Do It (c)? If I add it
> > manually, fstab-sync will wipe out the entry the next time I boot
> > my system, right? Thanks.
>
> You can't/shouldn't run fstab-sync manually, it's invoked by the
> haldaemon which thusly should be a running service ...
Right. That's why I asked. I read the manual page and it was clear that
I shouldn't invoked fstab-sync manually.
> I guess that your /dev/hdb is a cd-writer. I have one on hdd, and the
> corresponding fstab entry, obviously created by the fstab-sync (as
> can be seen from the 'managed' option):
/dev/hdb is another hard disk that contains /home from my old Slackware
installation and /space, which is a big fat dumping ground. I should
have said so in my earlier message. /dev/hdd is my (failing) CD
recorder, which is properly detected:
/dev/hdd /media/cdrecorder auto pamconsole,ro,exec,noauto,managed 0 0
> HAL is an interesting feature with respect to removable devices. I
> have several usb storage stuff (camera, stick, CF reader, iriver mp3
> player), and all of them are managed in a similar way:
HAL seems pretty slick, to be sure. I'm not accustomed to having all of
this handled for me. It's convenient, but I'm afraid I'll lose my admin
skills if I rely on something to do the detection for me. Perhaps I'm
just a dinosaur.
[snip]
> Apart from that, I didn't do any tweaking, and I guess the average
> user/admin is supposed not to do so, as the docs and many
> configuration files (xml) are as obscure as the freedesktop.org
> website mentioned in man fstab-sync.
I'm glad someone else finds freedesktop.org as chaotic and useless as I
do. :-)
Thanks for the insight, Klaus.
Kurt
More information about the Linux-users
mailing list