diff options
author | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2021-08-14 20:06:08 +0000 |
---|---|---|
committer | Piotr Pawel Stefaniak <pstef@FreeBSD.org> | 2021-09-15 14:25:31 +0000 |
commit | 6e8272f317b899438165108a72fa04a4995611bd (patch) | |
tree | aea32b2557efe1974ed371b0ad8b59e422e25909 /sys/contrib/openzfs/module/zfs/zcp_set.c | |
parent | 2de4c7f6d08798fb6269582907155703d1ab5ef4 (diff) | |
download | src-6e8272f317b899438165108a72fa04a4995611bd.tar.gz src-6e8272f317b899438165108a72fa04a4995611bd.zip |
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
Diffstat (limited to 'sys/contrib/openzfs/module/zfs/zcp_set.c')
0 files changed, 0 insertions, 0 deletions