Author: trasz Date: Sat Feb 18 11:43:13 2017 New Revision: 313915 URL: https://svnweb.freebsd.org/changeset/base/313915
Log: Make fsck(8) default to "ufs", like eg mount(8) does. Approved by: imp Discussed with: kib MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9621 Modified: head/sbin/fsck/fsck.c Modified: head/sbin/fsck/fsck.c ============================================================================== --- head/sbin/fsck/fsck.c Sat Feb 18 10:01:17 2017 (r313914) +++ head/sbin/fsck/fsck.c Sat Feb 18 11:43:13 2017 (r313915) @@ -215,7 +215,7 @@ main(int argc, char *argv[]) if (vfstype == NULL) vfstype = getfstype(spec); if (vfstype == NULL) - errx(1, "Could not determine filesystem type"); + vfstype = "ufs"; type = vfstype; devcheck(spec); } else { _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"