4 ms·
Interestingly enough, on FreeBSD the mknod()/open()/write() code would have no effect. FreeBSD only allows access to devices through character devices that are
by EdSchouten 7y ago
Interestingly enough, on FreeBSD the mknod()/open()/write() code would have no effect. FreeBSD only allows access to devices through character devices that are exposed by devfs.
It is still possible to create device files on other file systems using mknod(), but they only act as placeholders (e.g., to prepare a filesystem image for another OS).