mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
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. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| tunefs.8 | ||
| tunefs.c | ||