Displaying 2 results from an estimated 2 matches for "checkyesno".
2003 Aug 15
0
[PATCH] jail NG schript patch for mounting devfs and procfsautomatically
...jail_devfs=\"\$jail_${_jail}_devfs\"
> [ -z ${jail_devfs} ] && jail_devfs="NO":
>
> eval jail_fdescfs=\"\$jail_${_jail}_fdescfs\"
> [ -z ${jail_fdescfs} ] && jail_fdescfs="NO"
> :
> if checkyesno jail_devfs ; then
> mount -t devfs dev ${jail_devdir}
> if checkyesno jail_fdescfs ; then
> mount -t fdescfs fdesc ${jail_devdir}/fd
> fi
> :
> fi
> :
> }
>
> jail_...
2012 Sep 18
8
Collecting entropy from device_attach() times.
Hi.
I experimented a bit with collecting entropy from the time it takes for
device_attach() to run (in CPU cycles). It seems that those times have
enough variation that we can use it for entropy harvesting. It happens
even before root is mounted, so pretty early.
On the machine I'm testing it, which has minimal kernel plus NIC driver
I see 75 device_attach() calls. I'm being very careful