Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/init.d/hald and hotplug
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wizardofos
Apprentice
Apprentice


Joined: 20 Jul 2004
Posts: 201

PostPosted: Sat Jun 18, 2005 1:39 pm    Post subject: /etc/init.d/hald and hotplug Reply with quote

Hi

I use hal, and wondered why HAL uses hotplug instead of hotplug-base. I don't see where's the need for hotplug?
Another thing: HAL has "depend hotplug" in it's initscripts, which is a bit of a nonsense, cause there isn't anything useful in /etc/init.d/hotplug (it's kind of a dummy).

greetings
fabian
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Mon Jun 20, 2005 2:27 pm    Post subject: Reply with quote

You're right, its a dummy file used for backward compatability needed for some packages and to maintain package dependencies.
Just leave it, it won't hurt anything.
Back to top
View user's profile Send private message
wizardofos
Apprentice
Apprentice


Joined: 20 Jul 2004
Posts: 201

PostPosted: Mon Jun 20, 2005 3:08 pm    Post subject: Reply with quote

Hm, but there are still two things:

1. Why does hald depend on hotplug instead of hotplug-base? Does it need the scripts in /etc/hotplug
2. Why does /etc/init.d/hald depend on the nearly empty hotplug script?

fabian
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Mon Jun 20, 2005 4:21 pm    Post subject: Reply with quote

wizardofos wrote:
Hm, but there are still two things:

1. Why does hald depend on hotplug instead of hotplug-base? Does it need the scripts in /etc/hotplug
2. Why does /etc/init.d/hald depend on the nearly empty hotplug script?

fabian

The hotplug package contains several configuration files for many usb devices, so it is still needed.
I believe it is those files that hald uses.

The hotplug package requires hotplug-base, so it is probably easier to leave hotplug as dependency by other packages instead of hotplug-base. This way you get both.

For a definitive answer, you would need to ask package maintainer Greg Kroah-Hartman.
Back to top
View user's profile Send private message
wizardofos
Apprentice
Apprentice


Joined: 20 Jul 2004
Posts: 201

PostPosted: Mon Jun 20, 2005 4:47 pm    Post subject: Reply with quote

OK thanks!
Back to top
View user's profile Send private message
onlymee
n00b
n00b


Joined: 27 May 2004
Posts: 24

PostPosted: Sat Jul 08, 2006 12:04 pm    Post subject: Reply with quote

Anybody find a definitive answer to this?
A similar question has been raised again recently:
http://forums.gentoo.org/viewtopic-p-3433204.html#3433204
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum