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.
--
------------------------------------------------------------------------
Leonid Podolny | /"\
| \ / ASCII Ribbon Campaign
leonidp(at)gmail.com | x Against HTML Mail
+972-54-5696948 | / \
------------------------------------------------------------------------
PGP fingerprint: 51B2 F1DB 485E 2C48 2E17 94D1 7EC4 E524 B156 B9F0
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB156B9F0
------------------------------------------------------------------------
=================================================================
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]