how do I label (meaning adding a reminder caption) to any given BSD slice ?

nacho Lariguet lariguet at gmail.com
Sun Aug 9 11:04:42 PDT 2020


ie: the "label:" field shown under the "diskid:" one with disklabel64

It seems there is no switch (maybe -l) on disklabel64 (when using -w) to label a slice. 

eg:

# /dev/da0s1:
#
# Calculated informational fields for the slice:
#
# boot space:    1044480 bytes
# data space:  175691776 blocks	# 171574.00 MB (179908378624 bytes)
#
# NOTE: The partition data base and stop are physically
#       aligned instead of slice-relative aligned.
#
# All byte equivalent offsets must be aligned.
#
diskid: af1b4686-d85d-11ea-9373-012324e2aca4
label: ... HOW TO SET THIS ONE ?
boot2 data base:      0x000000001000
partitions data base: 0x000000100000
partitions data stop: 0x0029e3700000
backup label:         0x0029e37ff000
total size:           0x0029e3800000	# 171576.00 MB
alignment: 4096
display block size: 1024	# for partition display and edit only

16 partitions:
#          size     offset    fstype   fsuuid
  a:    1048576          0    4.2BSD	#    1024.000MB
  d:   33554432    1048576   HAMMER2	#   32768.000MB
  e:  134217728   34603008   HAMMER2	#  131072.000MB
  f:    6871040  168820736   HAMMER2	#    6710.000MB
  a-stor_uuid: eb61372a-d85d-11ea-9373-012324e2aca4
  d-stor_uuid: eb613733-d85d-11ea-9373-012324e2aca4
  e-stor_uuid: eb613739-d85d-11ea-9373-012324e2aca4
  f-stor_uuid: eb61373e-d85d-11ea-9373-012324e2aca4


More information about the Users mailing list