Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/makefs mention timezone change for -T timestamp



details:   https://anonhg.NetBSD.org/src/rev/03139c9c75c4
branches:  trunk
changeset: 821636:03139c9c75c4
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 11 15:32:51 2017 +0000

description:
mention timezone change for -T timestamp

diffstat:

 usr.sbin/makefs/makefs.8 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r eff62d48bb45 -r 03139c9c75c4 usr.sbin/makefs/makefs.8
--- a/usr.sbin/makefs/makefs.8  Sat Feb 11 15:27:08 2017 +0000
+++ b/usr.sbin/makefs/makefs.8  Sat Feb 11 15:32:51 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: makefs.8,v 1.58 2017/01/24 11:22:43 nonaka Exp $
+.\"    $NetBSD: makefs.8,v 1.59 2017/02/11 15:32:51 christos Exp $
 .\"
 .\" Copyright (c) 2001-2003 Wasabi Systems, Inc.
 .\" All rights reserved.
@@ -33,7 +33,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 11, 2017
+.Dd February 11, 2017
 .Dt MAKEFS 8
 .Os
 .Sh NAME
@@ -215,6 +215,12 @@
 Note that timestamps specified in an
 .Xr mtree 5
 spec file, override the default timestamp.
+Some filesystems (cd9660, udf) that are using
+.Xr localtime 3
+to convert times to the native format, use
+.Xr gmtime 3
+with the specified timestamps so that they are immune to timezone changes
+and get consistent timestamps.
 .It Fl t Ar fs-type
 Create an
 .Ar fs-type



Home | Main Index | Thread Index | Old Index