2e4513990b
is actually mounted on "/" can be determined using statfs() and is in /dev. This fixes fsck operating on the wrong device when the fs_spec entry is only an alias. The aliased case became more dangerous when the ROOTSLICE_HUNT hack was committed in mount(8). ROOTSLICE_HUNT may be unnecessary now.