Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2023 18:31:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 270435] makefs: cd9660 output is nonreproducible
Message-ID:  <bug-270435-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270435

            Bug ID: 270435
           Summary: makefs: cd9660 output is nonreproducible
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

makefs uses time(NULL) for the timestamp on the . directory entry, resultin=
g in
non-reproducible output

--- t1.iso
+++ t2.iso
=E2=94=9C=E2=94=80=E2=94=80 file list
=E2=94=82 @@ -1,2 +1,2 @@
=E2=94=82 -drwxr-xr-x   2     1001     1001     2048 2023-03-24 18:27:59.00=
0000 .
=E2=94=82 +drwxr-xr-x   2     1001     1001     2048 2023-03-24 18:28:00.00=
0000 .
=E2=94=82  -rw-r--r--   1     1001     1001        0 2023-03-24 18:27:59.00=
0000
1234.567

code reference:
usr.sbin/makefs/cd9660.c:       time_t tstamp =3D stampst.st_ino ?
stampst.st_mtime : time(NULL);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270435-227>