HomeFreeBSD

mount: improve error message for invalid filesystem names

Description

mount: improve error message for invalid filesystem names

For an invalid filesystem name used like this:
mount -t asdfs /dev/ada1p5 /usr/obj

emit an error message like this:
mount: /dev/ada1p5: Invalid fstype: Invalid argument

instead of:
mount: /dev/ada1p5: Operation not supported by device

Differential Revision: https://reviews.freebsd.org/D31540

Details

Provenance
pstefAuthored on Aug 14 2021, 8:06 PM
Differential Revision
D31540: mount: improve error message for invalid filesystem names
Parents
rG2de4c7f6d087: pci_host_generic: Add Synopsys Designware PCIe controller quirk
Branches
Unknown
Tags
Unknown