Skip to content

Instantly share code, notes, and snippets.

@kaworu
Created October 30, 2014 15:52
Show Gist options
  • Save kaworu/ea7be5049a2e05f43771 to your computer and use it in GitHub Desktop.
Save kaworu/ea7be5049a2e05f43771 to your computer and use it in GitHub Desktop.
Script started on Thu Oct 30 16:51:14 2014
root@smaug:~ # gpart show ada0
=> 63 3907029105 ada0 MBR (1.8T)
63 3907029105 1 freebsd [active] (1.8T)
root@smaug:~ # gpart show ada010s1
=> 0 3907029105 ada0s1 BSD (1.8T)
0 49152000 1 freebsd-ufs (23G)
49152000 3853682688 2 freebsd-ufs (1.8T)
3902834688 4194417 4 freebsd-swap (2.0G)
root@smaug:~ # bsdlabel ada0s1
# /dev/ada0s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 49152000 0 4.2BSD 4096 16384 64
b: 3853682688 49152000 4.2BSD 0 0 0
c: 3907029105 0 unused 0 0 # "raw" part, don't edit
d: 4194417 3902834688 swap
root@smaug:~ # ^Dexit
Script done on Thu Oct 30 16:51:28 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment