>From [EMAIL PROTECTED] Thu Feb 11 21:51:13 1999

>> >> 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.

>In the case I noticed recently, I think it was done correctly. Someone
>upgraded the FORE ATM drivers on a system (the new drivers use
>different /dev entries), booted with -r and the old device entries in
>/dev were still around. This caused much confusion.

>It may be a bug due to FORE not doing something right (like adding to
>one of those scripts), but either way, it points to a bug/design flaw
>in Solaris. Problems like this should not happen. Linux devfs doesn't
>suffer from this problem.

This definitely must be a FORE bug. They then seem not to provide a correct 
/etc/devlink.tab which is needed to make devlinks work properly.
I know that there are other bugs in the FORE installation. 

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]

Reply via email to