Re: How to force udev to mount a device if present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Ryshpan wrote:
> On Thu, 2006-12-14 at 17:51 -0600, Mikkel L. Ellertson wrote:
>> Having the drive plugged in when you boot should not cause problems.
>> There is a coldplug routine that should do the same things as the
>> hotplug routine. I am not sure if the drive would be mounted if the
>> desktop was not running. There is probably a system setting to
>> handle this, but I have not checked on it yet. When I get some free
>> time, I will play with this, and let you know. I do know that HAL
>> handles the mounting, but I have not looked into the changes from
>> FC5 to FC6 yet. I believe that some users were having problems with
>> USB drives that did not have a volume lable were not auto-mounting.
> 
> You are quite right.  I have given the USB drive a label, and it now
> mounts when KDE starts, which is an improvement.
> 
> Now the question is how to get it to mount at boot time.
> 
> Do you know of a good introduction to udev and hal.  I find a lot of the
> stuff in the control files mysterious, for example:
>         $ cat 90-hal.rules
>         # pass all events to the HAL daemon
>         RUN+="socket:/org/freedesktop/hal/udev_event"
> which I suppose passes a command to a daemon listening on a socket, but
> what the daemon is (though probably hald) and where it listens I haven't
> been able to determine.
> 
> Thanks - jon
>         
For udev, you can try
/usr/share/doc/udev-095/writing_udev_rules/index.html

I have not found any good documentation for HAL...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux