* making removable block devices appear is sysfs
@ 2004-02-27 2:17 Jon Smirl
2004-02-28 0:20 ` Greg KH
2004-02-28 1:57 ` Jon Smirl
0 siblings, 2 replies; 3+ messages in thread
From: Jon Smirl @ 2004-02-27 2:17 UTC (permalink / raw)
To: linux-hotplug
How do I make removable block devices appear in sysfs? When I boot these devices
are missing the block entry in their sysfs node. If I mknod a device node by
hand and mount them the block entries appear and udev creates the devices nodes
as expected.
So, how do I make the sysfs block entries appear for removable devices without
first making a node and mounting them? You have to have the block entry before
udev will automatically create the device node.
==Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
-------------------------------------------------------
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_id\x1356&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: making removable block devices appear is sysfs
2004-02-27 2:17 making removable block devices appear is sysfs Jon Smirl
@ 2004-02-28 0:20 ` Greg KH
2004-02-28 1:57 ` Jon Smirl
1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2004-02-28 0:20 UTC (permalink / raw)
To: linux-hotplug
On Thu, Feb 26, 2004 at 06:17:55PM -0800, Jon Smirl wrote:
> How do I make removable block devices appear in sysfs? When I boot
> these devices are missing the block entry in their sysfs node. If I
> mknod a device node by hand and mount them the block entries appear
> and udev creates the devices nodes as expected.
Again, if the kernel does not show _anything_ in /sys/block, then udev
can't do anything about it.
Sorry,
greg k-h
-------------------------------------------------------
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_id\x1356&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: making removable block devices appear is sysfs
2004-02-27 2:17 making removable block devices appear is sysfs Jon Smirl
2004-02-28 0:20 ` Greg KH
@ 2004-02-28 1:57 ` Jon Smirl
1 sibling, 0 replies; 3+ messages in thread
From: Jon Smirl @ 2004-02-28 1:57 UTC (permalink / raw)
To: linux-hotplug
I'm running 2.6.4-rc1 and Fedora Core 1. None of my removable devices appear in
/sys/block. I'm missing fd0, hdc, hdd. I'm booting directly with udev to an
almost empty (console) /dev directory. I agree that udev can't do anything if
the entries aren't in /sys/block.
But what do I have to do to the kernel to those entries appear? I know that if I
manually create a device node and touch the device the entries will appear. Am I
the only person seeing this? I run SMP with ACPI enabled on a hyperthread P4
which may be a little uncommon.
--- Greg KH <greg@kroah.com> wrote:
> On Thu, Feb 26, 2004 at 06:17:55PM -0800, Jon Smirl wrote:
> > How do I make removable block devices appear in sysfs? When I boot
> > these devices are missing the block entry in their sysfs node. If I
> > mknod a device node by hand and mount them the block entries appear
> > and udev creates the devices nodes as expected.
>
> Again, if the kernel does not show _anything_ in /sys/block, then udev
> can't do anything about it.
>
> Sorry,
>
> greg k-h
==Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
-------------------------------------------------------
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_id\x1356&alloc_id438&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-28 1:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-27 2:17 making removable block devices appear is sysfs Jon Smirl
2004-02-28 0:20 ` Greg KH
2004-02-28 1:57 ` Jon Smirl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).