Le 14 mars 2001 à 16:14:38 +0100, Dankin Veers a écrit :
 
> J'ai donc fait un p'tit coup de mknod -m660 sg4 b 21 19. 
                                                  ^???   
$ grep -A10 -B1 /sg0 /usr/src/linux/Documentation/devices.txt
 21 char        Generic SCSI access
                  0 = /dev/sg0          First generic SCSI device
                  1 = /dev/sg1          Second generic SCSI device
                    ...

                Most distributions name these /dev/sga, /dev/sgb...;
                this sets an unnecessary limit of 26 SCSI devices in
                the system and is counter to standard Linux
                device-naming practice.

    block       Acorn MFM hard drive interface
                  0 = /dev/mfma         First MFM drive whole disk

> Quelqu'un sait-il comment recréer un
> /dev/sg4 qui marche??

$ cd /dev
$ ./MAKEDEV -n sg
create sg0      c 21 0 root:root 0600
create sg1      c 21 1 root:root 0600
create sg2      c 21 2 root:root 0600
create sg3      c 21 3 root:root 0600
create sg4      c 21 4 root:root 0600
create sg5      c 21 5 root:root 0600
create sg6      c 21 6 root:root 0600
create sg7      c 21 7 root:root 0600
create sg8      c 21 8 root:root 0600
create sg9      c 21 9 root:root 0600
create sg10     c 21 10 root:root 0600
create sg11     c 21 11 root:root 0600
create sg12     c 21 12 root:root 0600
create sg13     c 21 13 root:root 0600
create sg14     c 21 14 root:root 0600
create sg15     c 21 15 root:root 0600
create sg16     c 21 16 root:root 0600

Te dire que ça marchera pour autant... :-)
-- 
[EMAIL PROTECTED]
 "Aide-toi et Linux t'aidera"

Répondre à