summaryrefslogtreecommitdiffstats
path: root/sbin/mdmfs
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-09-30 14:57:08 +0000
committeriedowse <iedowse@FreeBSD.org>2001-09-30 14:57:08 +0000
commit71c1cedf5517c78c1753b5eed71fa0e582913980 (patch)
tree81e9cb5f41069016ffa31562baf8c6821759db50 /sbin/mdmfs
parent9baef976499d8287837cc989fab55a308c2b8b60 (diff)
downloadFreeBSD-src-71c1cedf5517c78c1753b5eed71fa0e582913980.zip
FreeBSD-src-71c1cedf5517c78c1753b5eed71fa0e582913980.tar.gz
Don't require that the special/filesystem argument translates into
a block or character device; the rest of tunefs works just fine on filesystem images in regular files. Instead, if getfsfile() failed and if the specified filesystem is a directory then print a more useful "unknown file system" error. Also, _PATH_DEV already contains a trailing slash, so don't add another one when constructing a device path, and use errx() instead of err() in a case where errno is meangingless.
Diffstat (limited to 'sbin/mdmfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud