Skip to content

Instantly share code, notes, and snippets.

@major
Created June 30, 2020 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save major/aa32f732d8ee123f19082d5ce121b146 to your computer and use it in GitHub Desktop.
Save major/aa32f732d8ee123f19082d5ce121b146 to your computer and use it in GitHub Desktop.
command: sfdisk '--part-type' '/dev/sda' '1'
command: sfdisk returned 0
command: sfdisk: stdout:
83
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle
No filesystem is currently mounted on /sys/fs/cgroup.
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle
No filesystem is currently mounted on /sys/fs/cgroup.
command: fold-stdout-on-stderr sgdisk '/dev/sda' '-i' '1'
command: sgdisk returned 0
command: sgdisk: stderr:
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************
Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.
Partition GUID code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
Partition unique GUID: DEE9FA20-3D5D-461D-9F6D-A9C4DA84160A
First sector: 2048 (at 1024.0 KiB)
Last sector: 12582911 (at 6.0 GiB)
Partition size: 12580864 sectors (6.0 GiB)
Attribute flags: 0000000000000000
Partition name: 'Linux filesystem'
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle
No filesystem is currently mounted on /sys/fs/cgroup.
command: blkid '-c' '/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda1'
command: blkid returned 0
command: blkid: stdout:
xfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment