Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Re: update on udev on /dev status

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve01 AT pi.be>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Re: update on udev on /dev status
  • Date: Thu, 4 Mar 2004 12:27:32 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 03 March 2004 14:18, Arwed von Merkatz wrote:
> Hi,
>
> another update on the udev front, things are progressing nicely :)
> Thanks to Hamish and Casey for providing me with a MAKEDEV script.
>
> Changes since last time:
>
> - the init.d spell will check the static /dev for console and null
> devices, if they don't exist it offers to create a static dev tree,
> defaulting to yes (this is only checked if the user chooses udev or
> static for device management)
> - the udev spell now installs a /etc/udev/udev.missing file that gets
> processed by the devices init script to create the devices udev
> doesn't know about, the file is commented and currently contains only
> the ppp device, if anyone finds more missing devices they can be added
> easily.
>
> Still missing is securetty and fstab editing, securetty is easy, fstab
> is hard. For fstab it'll need to map devfs names like
> /dev/ide/host0/bus0/target0/lun0/disc -> /dev/hda and vice versa, same
> for scsi. If anyone wants to take a shot at it i'll be happy to include
> it in the init.d spell.

I added the following lines to udev.rules. They should be completely generic
and work on my system with a Plextor cdrw and Agfa scanner.


BUS="scsi", KERNEL="sr*", NAME="%k", SYMLINK="cdrom%n"
BUS="scsi", SYSFS{type}="6", NAME="%k", SYMLINK="scanner%n"


Maybe udev.permissions needs adjusting as well


Regards, Treeve

- --
PGP Key ID: AB929B24
PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFARxKtlpc0xauSmyQRAjsRAJ9puQOdm6lpyx8s11gFvwy/hhJiPACgp1sx
d5NUYBvchPPdHtvFeE3RIlM=
=NPbB
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.24.

Top of Page