Edit

IABSD.fr/src/sys/msdosfs

Branch :

  • Show log

    Commit

  • Author : jsg
    Date : 2020-08-10 05:18:46
    Hash : c34741d6
    Message : consistently return EINVAL on invalid BPB reverts changes from msdosfs_vfsops.c rev 1.7 Prompted by a patch from John Carmack to add an an error path when exFAT is detected on mount to give a more helpful error message. Returning EINVAL in the existing sanity checks will make mount_msdos(8) print "not an MSDOS filesystem" when attempting to mount exFAT and matches historic and documented behaviour. ok kn@