Re: [Redhat-s390-list] /dev/dasdx device files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a variation of the short script in the 
'Linux for S/390 Device Drivers and Installation commands' IBM Redbook
page 13 (l390dd.pdf):

cat /proc/dasd/devices | sed '/unknown/D;s/^.*[(]\([ 0-9]*\)[:]\([ 0-9]*\)[)].*\(dasd[a-z]*\)[: ].*$/\1 \2 \3/g' | awk ' $1 { printf "mknod /dev/%s b %d %d 2>/dev/null; mknod /dev/%s1 b %d %d 2>/dev/null; mknod /dev/%s2 b %d %d 2>/dev/null; mknod /dev/%s3 b %d %d 2>/dev/null; ",$3,$1,$2,$3,$1,$2+1,$3,$1,$2+2,$3,$1,$2+3; }'


Be careful that your mail client doesn't add some characters for linebreaks 
when you cut&paste this !

Regards

  Karsten Hopp

> Hello all.
> 
> I am currently working with a RedHat employee to install RedHat Linux 7.2
> (very lastest kernel build) on os/390.  I've noticed that no more that 26
> device files (/dev/dasda through /dev/dasdz) will be created in the /dev
> directory even though devices greater than dasdz (dasdaa, dasdab, dasdac,
> etc...) are referenced in /proc/dasd/devices.  
> 
> I have defined the devices to /etc/zilo.conf and run zipl.  I have also
> rebooted several times.
> 
> Can you assist?

--
 Karsten Hopp        | Mail: karsten@redhat.de
 Red Hat Deutschland | Tel: +49-711-96437-0
 Hauptstaetterstr.58 | Fax: +49-711-96437-111
 D-70178 Stuttgart   | http://www.redhat.de 



[Index of Archives]     [Fedora General Discussion]     [LKML]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Linux s390]     [Gimp]     [Yosemite News]

  Powered by Linux