Skip to contentSkip to conversation

hotplug

DISCUSSION raja sekhar kottapalli 3 participants 6 messages Nov 17, 2003 – Feb 27, 2004

lore
Share & tools
lore
#0 lore raw

what are the required rpm's for creating a dynamic icon on the desktop when an usb is pluged in

________________________________________________________________________
Yahoo! India Mobile: Download the latest polyphonic ringtones. Go to http://in.mobile.yahoo.com

-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

Hotplug

I've just read something that may be causing my problem with udev, and I would just like to confirm this before I actually go ahead and do any changes.

Running "/proc/sys/kernel/hotplug" on my system prints out "/bin/true", I've read that to change this you do echo "/sbin/hotplug" > /proc/sys/kernel/hotplug.

But what I want to know is, is this the reason that my linux system won't boot up when I try and use udev with /dev as the udev_root. The reason that I ask is because when I tested out udev using /udev as the udev_root and my system started up, the hotplug demon started up after the hard disks are mounted. And the problem was that the /dev/hda device nodes (and others) were not being created.

Thanks in advanced for any help.

==Philip MacIver
--
e: [email protected]
e: [email protected]

___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw

Re: Hotplug

In reply to raja sekhar kottapalli
Quoted 17 lines · Philip MacIver

I've just read something that may be causing my problem with udev, and I would just like to confirm this before I actually go ahead and do any changes.

Running "/proc/sys/kernel/hotplug" on my system prints out "/bin/true", I've read that to change this you do echo "/sbin/hotplug" > /proc/sys/kernel/hotplug.

But what I want to know is, is this the reason that my linux system won't boot up when I try and use udev with /dev as the udev_root. The reason that I ask is because when I tested out udev using /udev as the udev_root and my system started up, the hotplug demon started up after the hard disks are mounted. And the problem was that the /dev/hda device nodes (and others) were not being created.

Quoted 9 lines

Thanks in advanced for any help.

=====
Philip MacIver
--
e: [email protected]
e: [email protected]

what script do you use to start udev? is this the start_udev one?
when you use /udev : the entries are created? (do an ls don't assume that they are created because no errors occurs) are you mounting a /dev in fstab? (i know someone that did that...)

#3 lore raw

Re: Hotplug

In reply to raja sekhar kottapalli

--- MALET JL <[email protected]> wrote: >

Quoted 27 lines · Philip MacIver
Quoted 7 lines

I've just read something that may be causing my problem with udev, and I would just like to confirm this before I actually go ahead and do any changes.

Running "/proc/sys/kernel/hotplug" on my system

prints

Quoted 1 line

out "/bin/true", I've read that to change this you

do

Quoted 3 lines

echo "/sbin/hotplug" > /proc/sys/kernel/hotplug.

But what I want to know is, is this the reason that

my

Quoted 2 lines

linux system won't boot up when I try and use udev with /dev as the udev_root. The reason that I ask

is

Quoted 2 lines

because when I tested out udev using /udev as the udev_root and my system started up, the hotplug

demon

Quoted 1 line

started up after the hard disks are mounted. And

the

Quoted 5 lines

problem was that the /dev/hda device nodes (and others) were not being created.

Thanks in advanced for any help.

Quoted 8 lines
Quoted 6 lines

==> >Philip MacIver
--
e: [email protected]
e: [email protected]

what script do you use to start udev? is this the start_udev one?

Yes.

Quoted 3 lines

when you use /udev : the entries are created? (do an ls don't assume
that they are created because no errors occurs)

Yes all the enteries are created, I've learnt never to assume

Quoted 3 lines

are you mounting a /dev in fstab? (i know someone
that did that...)

Nope I've checked my fstab many times and I don't mount a dev.

When I do set the udev_root to /dev some devices get created, like fd0 and a few others that I can't remember.

But i'm wondering if where i'm starting udev in my rc.sysinit is the problem. Just for your reference I start it (and also mount sysfs) right after /proc gets mounted (and yes I do mmount sysfs before I run start_udev :) )

==Philip MacIver
--
e: [email protected]
e: [email protected]

___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#4 lore raw

Re: Hotplug

In reply to raja sekhar kottapalli
Quoted 113 lines · Philip MacIver

--- MALET JL <[email protected]> wrote: >

Quoted 59 lines · Philip MacIver
Quoted 8 lines

I've just read something that may be causing my problem with udev, and I would just like to confirm this before I actually go ahead and do any changes.

Running "/proc/sys/kernel/hotplug" on my system

prints

Quoted 3 lines

out "/bin/true", I've read that to change this you

do

Quoted 5 lines

echo "/sbin/hotplug" > /proc/sys/kernel/hotplug.

But what I want to know is, is this the reason that

my

Quoted 4 lines

linux system won't boot up when I try and use udev with /dev as the udev_root. The reason that I ask

is

Quoted 4 lines

because when I tested out udev using /udev as the udev_root and my system started up, the hotplug

demon

Quoted 3 lines

started up after the hard disks are mounted. And

the

Quoted 14 lines

problem was that the /dev/hda device nodes (and others) were not being created.

Thanks in advanced for any help.

=====
Philip MacIver
--
e: [email protected]
e: [email protected]

Quoted 4 lines

what script do you use to start udev? is this the start_udev one?

Yes.

Quoted 4 lines

when you use /udev : the entries are created? (do an ls don't assume that they are created because no errors occurs)

Yes all the enteries are created, I've learnt never to assume

Quoted 5 lines

are you mounting a /dev in fstab? (i know someone
that did that...)

Nope I've checked my fstab many times and I don't mount a dev.

When I do set the udev_root to /dev some devices get created, like fd0 and a few others that I can't remember.

But i'm wondering if where i'm starting udev in my rc.sysinit is the problem. Just for your reference I start it (and also mount sysfs) right after /proc gets mounted (and yes I do mmount sysfs before I run start_udev :) )

=====
Philip MacIver
--
e: [email protected]
e: [email protected]

Quoted 4 lines

___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html

I remember having such trouble but this was because the udev script was run twice...... but I can't remember exactly what was the causes and how they disapeard.....

what I remember is that : I loged into the box, noticed that /dev wasn't the right one (a fixed dev tree) so tried to rerun the script and only get a partial /dev structure.... looking what was mounted told me that /dev was mounted twice with ramfs..... maybe it can help :/

#5 lore raw

Re: Hotplug

In reply to raja sekhar kottapalli

--- MALET JL <[email protected]> wrote: >

Quoted 6 lines

I remember having such trouble but this was because the udev script was
run twice...... but I can't remember exactly what was the causes and how
they disapeard.....

Quoted 9 lines

what I remember is that : I loged into the box, noticed that /dev wasn't
the right one (a fixed dev tree) so tried to rerun the script and only
get a partial /dev structure.... looking what was mounted told me that
/dev was mounted twice with ramfs..... maybe it can help :/

Thanks, I have to explore this possibility more when I get home (they make me use Wind**s at work) :)

==Philip MacIver
--
e: [email protected]
e: [email protected]

___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel