[5881] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: WG: AW: cdrecord problems on recent Linux versions

daemon@ATHENA.MIT.EDU (Joerg Schilling)
Thu Feb 11 15:44:45 1999

Date:	Thu, 11 Feb 1999 21:38:51 +0100 (MET)
From: Joerg Schilling <schilling@fokus.gmd.de>
To: rgooch@atnf.csiro.au, schilling@fokus.gmd.de
Cc: Dominik.Stadler@btk.de, bsc@fleggaard.dk,
	cdwrite@lists.debian.org, dgilbert@interlog.com,
	heiko_eissfeldt@z.detesystem.de, linux-scsi@vger.rutgers.edu,
	michaels@stochastik.rwth-aachen.de, xiphmont@mit.edu

>From rgooch@vindaloo.atnf.CSIRO.AU 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:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.gmd.de		(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 majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post