Make an entry in fstab(5) with a non-existent device and the "failok" attribute. Then verify that the system still manages to start up to multi-user mode.
The hasopt() function is cut-and-paste from mount(8). Would it be better to add it to the getfsent(3) family of functions?