This errno, "Block device required", is slightly misnamed. It should really be ENOTDISK or some such, as that is what it is used for: if the passed device is not a disk, fail. The only system calls that can return this (to my knowledge and speaking for FreeBSD, at least) are mount(8) and swapon(8).

Log in or register to write something here or to contact authors.