Operating System - HP-UX
1863043 Members
1132 Online
110446 Solutions
New Discussion

Re: /dev/urandom on v11.11

 
richtl
Advisor

/dev/urandom on v11.11

I'm attempting to wipe a drive on an 11.11 system using the urandom device. e.g.

dd if=/dev/urandom of=/dev/rdsk/cXtYdZ bs=1024k

I installed KRNG, rebooted, and verified the devices exist in /dev. However, when I run the above dd command I get

I/O error
0+1 records in
0+1 records out

What am I missing?

--Rich
1 REPLY 1
Steven Schweda
Honored Contributor

Re: /dev/urandom on v11.11

> [...] 11.11 [...]

Assuming that that's HP-UX 11.11, you might
get better answers sooner in an HP-UX forum
than you will in this Tru64 forum.

"I/O error" doesn't make it clear whether the
problem is on the "I" side or the "O" side.
Perhaps a simpler test would be informative.

ls -l /dev/rdsk/cXtYdZ

> What am I missing?

Among other things, you don't seem to have
provided the actual command used, or shown
exactly which devices you "verified".