>From [EMAIL PROTECTED] Thu Feb 11 21:29:33 1999
>> >Have you heard about devfs? It allows device drivers to register
>> >device entries which will automagically appear in /dev. It supports
>> >the old-style names "/dev/sg0" as well as the new-style names
>> >"/dev/sg/c0b0t0u0" (controller, bus, target, unit).
>>
>> >It's not just for SCSI: it's for *all* devices. It's been around for a
>> >year now.
>>
>> Interesting, this is a SYSVr4 idea (around since 1987).
>Perhaps. I note that the Solaris 2 implementation is in part or in
>full a user space solution (when you do boot -r from the PROM). Their
>scheme doesn't appear particularly robust, since old (invalid) device
>entries are sometimes left around.
This is not right, it is very robust.
/dev/rdsk/c0t1d0s2 is only a symlink to the real device nodes
which are located in /devices
e.g.
/dev/rdsk/c0t1d0s2 -> ../../devices/sbus@1,f8000000/esp@0,800000/sd@1,0:c,raw
the /devices entries are in the real root partition but are created
directly by the driver each time when a driver reconfiguration is done.
The symlinks are created by user level programs.
If you follow the manual and do a boot -r, these user level programs
are called correctly and will remove unneeded entries.
Howerver, it is possible to add hardware to a running system.
Then you need to call:
drvconfig tells the kernel to reconfigure the drivers
devlinks general symlinks program
disks symlink program for disks
tapes symlink program for tapes
ports symlink program for serial lines
audlinks symlink program for audio devices
ucblinks creates BSD compat dev entries
If you don't call all programs corectly, it's your fault.
>> How is it configured, I did not yet notice it.
>Grab the patch: http://www.atnf.csiro.au/~rgooch/linux/
Thank you ....J�rg
EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni) If you don't have iso-8859-1
[EMAIL PROTECTED] (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]