Make HAL Add DIsk to /etc/fstab
Net Llama!
netllama
Sun Jan 23 10:57:35 PST 2005
On 01/23/2005 06:37 AM, Kurt Wall wrote:
> 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.
Well, as Klaus suggested, you don't have to run haldaemon. If you like
managing this stuff on your own, it should still all just work. I can
definitely attest to the fact that the box will run fine with haldeamon
disabled, since that's the interim fix for my symbios SCSI controller
problem.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: http://netllama.ipfox.com
07:45:01 up 21 days, 15:09, 1 user, load average: 0.82, 0.28, 0.14
More information about the Linux-users
mailing list