/dev/random

random

Get

Install

$ gcc -D_KERNEL -O2 -c random.c
$ ld -r -o random random.o
$ su
# echo 'name="random" parent="pseudo" instance=0;' > /usr/kernel/drv/random.conf
# echo 'type=ddi_pseudo;name=random;addr=0;minor=random\t\\M' >> /etc/devlink.tab
# echo 'type=ddi_pseudo;name=random;addr=0;minor=urandom\t\\M0' >> /etc/devlink.tab
# cp random /usr/kernel/drv
# add_drv -m '* 0644 root sys' random
 
[Powerd by Sun] [Solaris.RogueLife.org] [Valid XHTML 1.0]
Copyright © 2000 -- tsumura@tomo.gr.jp