diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-09-30 14:57:08 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-09-30 14:57:08 +0000 |
commit | 71c1cedf5517c78c1753b5eed71fa0e582913980 (patch) | |
tree | 81e9cb5f41069016ffa31562baf8c6821759db50 /sbin/mdmfs | |
parent | 9baef976499d8287837cc989fab55a308c2b8b60 (diff) | |
download | FreeBSD-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