From owner-svn-src-all@FreeBSD.ORG Tue Jan 20 20:39:31 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 341971AB; Tue, 20 Jan 2015 20:39:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14AC38D0; Tue, 20 Jan 2015 20:39:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0KKdUPI016459; Tue, 20 Jan 2015 20:39:30 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0KKdUt9016455; Tue, 20 Jan 2015 20:39:30 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201501202039.t0KKdUt9016455@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Tue, 20 Jan 2015 20:39:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r277434 - in stable/10: contrib/file/doc sbin/mount usr.sbin usr.sbin/fstyp X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2015 20:39:31 -0000 Author: trasz Date: Tue Jan 20 20:39:29 2015 New Revision: 277434 URL: https://svnweb.freebsd.org/changeset/base/277434 Log: 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 Added: stable/10/usr.sbin/fstyp/ - copied from r275680, head/usr.sbin/fstyp/ Modified: stable/10/contrib/file/doc/file.man stable/10/sbin/mount/mount.8 stable/10/usr.sbin/Makefile stable/10/usr.sbin/fstyp/fstyp.c Directory Properties: stable/10/ (props changed) Modified: stable/10/contrib/file/doc/file.man ============================================================================== --- stable/10/contrib/file/doc/file.man Tue Jan 20 20:36:36 2015 (r277433) +++ stable/10/contrib/file/doc/file.man Tue Jan 20 20:39:29 2015 (r277434) @@ -1,5 +1,5 @@ -.\" $File: file.man,v 1.110 2014/11/28 02:46:39 christos Exp $ -.Dd November 27, 2014 +.\" $File: file.man,v 1.106 2014/03/07 23:11:51 christos Exp $ +.Dd December 3, 2014 .Dt FILE __CSECTION__ .Os .Sh NAME @@ -395,6 +395,7 @@ options. .Xr hexdump 1 , .Xr od 1 , .Xr strings 1 , +.Xr fstyp 8 .Sh STANDARDS CONFORMANCE This program is believed to exceed the System V Interface Definition of FILE(CMD), as near as one can determine from the vague language Modified: stable/10/sbin/mount/mount.8 ============================================================================== --- stable/10/sbin/mount/mount.8 Tue Jan 20 20:36:36 2015 (r277433) +++ stable/10/sbin/mount/mount.8 Tue Jan 20 20:39:29 2015 (r277434) @@ -28,7 +28,7 @@ .\" @(#)mount.8 8.8 (Berkeley) 6/16/94 .\" $FreeBSD$ .\" -.Dd November 22, 2014 +.Dd December 3, 2014 .Dt MOUNT 8 .Os .Sh NAME @@ -549,6 +549,7 @@ support for a particular file system mig .Xr fstab 5 , .Xr procfs 5 , .Xr automount 8 , +.Xr fstyp 8 , .Xr kldload 8 , .Xr mount_cd9660 8 , .Xr mount_msdosfs 8 , Modified: stable/10/usr.sbin/Makefile ============================================================================== --- stable/10/usr.sbin/Makefile Tue Jan 20 20:36:36 2015 (r277433) +++ stable/10/usr.sbin/Makefile Tue Jan 20 20:39:29 2015 (r277434) @@ -30,6 +30,7 @@ SUBDIR= adduser \ extattr \ extattrctl \ fifolog \ + fstyp \ fwcontrol \ getfmac \ getpmac \ Modified: stable/10/usr.sbin/fstyp/fstyp.c ============================================================================== --- head/usr.sbin/fstyp/fstyp.c Wed Dec 10 14:14:16 2014 (r275680) +++ stable/10/usr.sbin/fstyp/fstyp.c Tue Jan 20 20:39:29 2015 (r277434) @@ -31,7 +31,7 @@ #include __FBSDID("$FreeBSD$"); -#include +#include #include #include #include