]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275680:
authortrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 20 Jan 2015 20:39:29 +0000 (20:39 +0000)
committertrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 20 Jan 2015 20:39:29 +0000 (20:39 +0000)
commite6198b054881818b951e28cf259bd2ede036f342
tree8f48ce245679198d9b1f16d6c998c0b60806e91d
parent530393ceae4c5ab3dbcba21fb36c4d234f68decc
MFC r275680:

Add fstyp(8).  This utility, named after its SVR4 counterpart, detects
filesystems.  It differs from file(1) in that it gives machine-parseable
output, it outputs filesystem labels, doesn't get confused by other
formats metadata, and runs in Capsicum sandbox.

Differential Revision: https://reviews.freebsd.org/D1255
Relnotes: yes
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@277434 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
13 files changed:
contrib/file/doc/file.man
sbin/mount/mount.8
usr.sbin/Makefile
usr.sbin/fstyp/Makefile [new file with mode: 0644]
usr.sbin/fstyp/cd9660.c [new file with mode: 0644]
usr.sbin/fstyp/ext2fs.c [new file with mode: 0644]
usr.sbin/fstyp/fstyp.8 [new file with mode: 0644]
usr.sbin/fstyp/fstyp.c [new file with mode: 0644]
usr.sbin/fstyp/fstyp.h [new file with mode: 0644]
usr.sbin/fstyp/msdosfs.c [new file with mode: 0644]
usr.sbin/fstyp/msdosfs.h [new file with mode: 0644]
usr.sbin/fstyp/ntfs.c [new file with mode: 0644]
usr.sbin/fstyp/ufs.c [new file with mode: 0644]