From owner-svn-src-head@freebsd.org Tue May 16 19:03:27 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3503D70480; Tue, 16 May 2017 19:03:27 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 768A1A4; Tue, 16 May 2017 19:03:27 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4GJ3Qdf080041; Tue, 16 May 2017 19:03:26 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4GJ3Qll080040; Tue, 16 May 2017 19:03:26 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201705161903.v4GJ3Qll080040@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Tue, 16 May 2017 19:03:26 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r318366 - head/sbin/newfs_msdos X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 May 2017 19:03:27 -0000 Author: emaste Date: Tue May 16 19:03:26 2017 New Revision: 318366 URL: https://svnweb.freebsd.org/changeset/base/318366 Log: newfs_msdos: clarify description of -T (timestamp) option Submitted by: Siva Mahadevan Reported by: Daniel Shahaf Reviewed by: emaste Sponsored by: The FreeBSD Foundation Modified: head/sbin/newfs_msdos/newfs_msdos.8 Modified: head/sbin/newfs_msdos/newfs_msdos.8 ============================================================================== --- head/sbin/newfs_msdos/newfs_msdos.8 Tue May 16 18:54:25 2017 (r318365) +++ head/sbin/newfs_msdos/newfs_msdos.8 Tue May 16 19:03:26 2017 (r318366) @@ -38,10 +38,11 @@ .Op Fl B Ar boot .Op Fl C Ar create-size .Op Fl F Ar FAT-type -.Op Fl I Ar VolumeId +.Op Fl I Ar VolumeID .Op Fl L Ar label .Op Fl O Ar OEM .Op Fl S Ar sector-size +.Op Fl T Ar timestamp .Op Fl a Ar FAT-size .Op Fl b Ar block-size .Op Fl c Ar cluster-size @@ -55,7 +56,6 @@ .Op Fl o Ar hidden .Op Fl r Ar reserved .Op Fl s Ar total -.Op Fl T Ar timestamp .Op Fl u Ar track-size .Ar special .Op Ar disktype @@ -118,6 +118,14 @@ The default is Number of bytes per sector. Acceptable values are powers of 2 in the range 512 through 32768, inclusive. +.It Fl T Ar timestamp +Create the filesystem as though the current time is +.Ar timestamp . +The default filesystem volume ID is derived from the time. +.Ar timestamp +can be a pathname (where the timestamp is derived from +that file) or an integer value interpreted +as the number of seconds since the Epoch. .It Fl a Ar FAT-size Number of sectors per FAT. .It Fl b Ar block-size @@ -160,17 +168,11 @@ Number of hidden sectors. Number of reserved sectors. .It Fl s Ar total File system size. -.It Fl T Ar timestamp -Specify a timestamp to be used for filesystem creation so that -it can be consistent for reproducible builds. -The timestamp can be a pathname (where the timestamps are derived from -that file) or an integer value interpreted -as the number of seconds since the Epoch. .It Fl u Ar track-size Number of sectors per track. .El .Sh NOTES -If some parameters (e.g. size, number of sectors, etc.) are not specified +If some parameters (e.g., size, number of sectors, etc.) are not specified through options or disktype, the program tries to generate them automatically. In particular, the size is determined as the device or file size minus the offset specified with the