Hacker News new | past | comments | ask | show | jobs | submit login

A minor note:

* Only FreeBSD symbolically links, and it does it in the other direction. urandom is the symbolic link to random.

* OpenBSD has four distinct character device files: random, arandom, srandom, and urandom.

* NetBSD (as of 2019) has two distinct character device files: random and urandom. They have different semantics from each other. https://netbsd.gw.com/cgi-bin/man-cgi?rnd+4+NetBSD-current




On OpenBSD:

    $ ls -l /dev/*random*
    lrwxr-xr-x  1 root  wheel         7 Dec 10 15:05 /dev/random@ -> urandom
    crw-r--r--  1 root  wheel   45,   0 Jan  6 15:30 /dev/urandom


That must be a recent change.

    $ ls -F /dev/*random*
    /dev/arandom  /dev/random   /dev/srandom  /dev/urandom
    $


Deleted in 2017. https://marc.info/?l=openbsd-cvs&m=151069089605712&w=2 you can delete arandom and srandom

Edit: better link




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: