On Wed, Jul 20, 2005 at 09:01:04AM +0300, Leonid Podolny wrote:
> Marc A. Volovic wrote:
> >
> >
> >Assuming you are running devfs, you can know which device is what - since
> >they're indicated by their host, channel, id and lun.
> >
> No-no, no devfs here.
> 
> >Of course - devfs is being invalided out of the kernel, so you need to get
> >friendly with sysfs and company and or udevfs.
> I have tried this approach. Sysfs is exactly the reason for adding the 
> "portable accross 2.6" line. The sysfs structure appears to be different 
> between two kernels we tried (2.6.5 as supplied with SLES9 and vanilla 
> 2.6.12) and probably also has pecularities for every minor version.
> I'll look upon udevfs as soon as I get to work -- I have no acquaintance 
> whatsoever with it.

It's called udev, BTW. It's not a filesystem like devfs, it's a
hotplug-based tool. You put /dev on e.g. tmpfs and let udev populate it
as needed.
-- 
Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to