Operating System - HP-UX
1830912 Members
1912 Online
110017 Solutions
New Discussion

Re: mm driver and /dev/zeros special file

 
Jdamian
Respected Contributor

mm driver and /dev/zeros special file

Hi

I always thought /dev/zeros couldn't be created in HP-UX.

But I found a NetApp doc where there is a discussion to create /dev/zeros:

mknod /dev/zeros c 3 4

I tried and it works fine.

Then I used lsdev to get the driver name: mm.

Not found info about this driver. I'm interested to get profit from all these "unknown" drivers.

Does anybody know docs about this issue ?

Thanx in advance
4 REPLIES 4
Steve Steel
Honored Contributor

Re: mm driver and /dev/zeros special file

Hi


look at
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd25787dc4d7dd5118ff00090279cd0f9,00.html



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Carlos Fernandez Riera
Honored Contributor

Re: mm driver and /dev/zeros special file

Not so unknown... It is installed in core-hpux drivers, as /dev/null...

lssf /dev/* 2>/dev/null | grep " mm "
pseudo driver mm minor 0x000002 /dev/dtremote
pseudo driver mm minor 0x000001 /dev/kmem
pseudo driver mm minor 0x000000 /dev/mem
pseudo driver mm minor 0x000002 /dev/null

___________
* Driver install table
*
* This table contains the name of drivers which have converged I/O header
* structures and install entry points. Drivers in this table should not
* be defined in the driver table above.
***************************************************************************
* Driver Block major Char major Required for
* minimal system
asio0 -1 1
sastty -1 -1
cpd -1 -1 1
kepd -1 227 1
dev_config -1 69 1
klog -1 189 1
cn -1 0 1
mm -1 3 1
pty0 -1 16 1
pty1 -1 17 1
sy -1 207 1
dmem -1 27
iomap -1 -1
diag0 -1 28
diag1 -1 183
diag2 -1 232
unsupported
Corthouts Carlo
Valued Contributor

Re: mm driver and /dev/zeros special file

Hi,

The /dev/zero special file is not standard created on 11.00 but can be created with 'mknod /dev/zero c 3 0x000004'
From 11i and up the zero file will be available from installation on.

Jdamian
Respected Contributor

Re: mm driver and /dev/zeros special file

Nobody provided me the name of a doc or a URL where the useful minors of "mm" driver are discussed.

Then, I think HP doesn't provide the whole info aobut HP.