The NetBSD Project

CVS log for src/sbin/gpt/uuid.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / gpt

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Oct 20 08:21:30 2024 UTC (2 months, 3 weeks ago) by mlelstv
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +20 -11 lines
When generating timestamp based GUIDs for reproducable builds
- increment timestamp by 100ns for each partition.
- use the standard time-based UUID format (type 1) and don't
  pretend it's a random number (type 4).
- make the -T option actually work for the uuid command.

Random GUIDs:
  start   size  index  contents
     34   1000      1  GPT part - d93ba067-a788-4ce0-99b8-0ead51f00215
   1034   2000      2  GPT part - bebba77a-7fdc-4ca0-a1bf-7450aa871d41

d93ba067-a788-4ce0-99b8-0ead51f00215:
Version 4 Random
Variant 2 RFC 4122
Data D9 3B A0 67 A7 88 4C E0 99 B8 0E AD 51 F0 02 15

bebba77a-7fdc-4ca0-a1bf-7450aa871d41:
Version 4 Random
Variant 2 RFC 4122
Data BE BB A7 7A 7F DC 4C A0 A1 BF 74 50 AA 87 1D 41

Timestamp based GUIDs:
  start   size  index  contents
     34   1000      1  GPT part - 0a524600-8eba-11ef-8000-000000000000
   1034   2000      2  GPT part - 0a524601-8eba-11ef-8000-000000000000

0a524600-8eba-11ef-8000-000000000000:
Version 1 Time and MAC based
Variant 2 RFC 4122
Node 00:00:00:00:00:00
Clock 0
Time 2024-10-20T08:05:16.000000.0Z

0a524601-8eba-11ef-8000-000000000000:
Version 1 Time and MAC based
Variant 2 RFC 4122
Node 00:00:00:00:00:00
Clock 0
Time 2024-10-20T08:05:16.000000.1Z

Node (host MAC address) and clock (sequence number incremented whenever
the time went backwards) are left undefined (all zero) for our purpose.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Aug 19 17:15:38 2024 UTC (4 months, 3 weeks ago) by christos
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +26 -8 lines
Add -U option to specify new UUID
Add OpenBSD
from Anon Ymous

Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:20 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +114 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.1.6.1
Tue Jun 25 04:53:40 2019 UTC (5 years, 6 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.1: +0 -114 lines
file uuid.c was added on branch phil-wifi on 2020-04-13 08:03:20 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jun 25 04:53:40 2019 UTC (5 years, 6 months ago) by jnemeth
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: phil-wifi
Add an "uuid" command to generate a new UUID for a portion.  The
primary intention is for use for after cloning disks to prevent
collisions.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>