Lines Matching +full:swap +full:- +full:size +full:- +full:gb
38 .Op Fl s Ar size
96 .Op Fl s Ar size
144 .Bl -tag -width ".Cm bootcode"
151 The partition's location, size, and other attributes will be calculated
157 .Bl -tag -width 12n
164 .Ar size
186 .It Fl s Ar size
187 Create a partition of size
188 .Ar size .
215 .Bl -tag -width 10n
231 option is scheme-specific in nature (see the section entitled
237 and size.
254 The size of the file must be smaller than the size of the partition.
282 .Bl -tag -width 10n
315 .Bl -tag -width 10n
333 .Bl -tag -width 10n
357 .Bl -tag -width 10n
384 .Bl -tag -width 10n
399 If the new size is not specified it is automatically calculated
406 .Bl -tag -width 12n
411 .Ar size
423 .It Fl s Ar size
424 Specifies the new size of the partition, in logical blocks.
440 .Bl -tag -width 10n
464 .Bl -tag -width 10n
481 partition, the partition size in blocks, the partition index number,
482 the partition type, and a human readable partition size.
490 .Bl -tag -width 10n
516 .Bl -tag -width 10n
545 .Bl -tag -width ".Cm BSD64"
567 64-bit implementation of BSD disklabel used in
581 GUID Partition Table is used on Intel-based Macintosh computers and
615 utility also allows the user to specify scheme-specific partition types
620 .Bl -tag -width ".Cm dragonfly-disklabel64"
621 .It Cm apple-boot
624 The scheme-specific types are
629 .Qq Li "!426f6f74-0000-11aa-aa11-00306543ecac"
631 .It Cm bios-boot
634 The scheme-specific type is
635 .Qq Li "!21686148-6449-6E6F-744E-656564454649" .
639 The scheme-specific types are
642 .Qq Li "!c12a7328-f81f-11d2-ba4b-00a0c93ec93b"
652 The scheme-specific types are
657 .Qq Li "!516e7cb4-6ecf-11d6-8ff8-00022d09712b"
659 .It Cm freebsd-boot
663 The scheme-specific type is
664 .Qq Li "!83bd6b9d-7f41-11dc-be0b-001560b84f0f"
666 .It Cm freebsd-swap
669 partition dedicated to swap space.
670 The scheme-specific types are
671 .Qq Li "!FreeBSD-swap"
673 .Qq Li "!516e7cb5-6ecf-11d6-8ff8-00022d09712b"
675 .It Cm freebsd-ufs
679 The scheme-specific types are
680 .Qq Li "!FreeBSD-UFS"
682 .Qq Li "!516e7cb6-6ecf-11d6-8ff8-00022d09712b"
684 .It Cm freebsd-zfs
688 The scheme-specific types are
689 .Qq Li "!FreeBSD-ZFS"
691 .Qq Li "!516e7cba-6ecf-11d6-8ff8-00022d09712b"
698 .Bl -tag -width ".Cm dragonfly-disklabel64"
699 .It Cm apple-apfs
701 .It Cm apple-core-storage
704 The scheme-specific type is
705 .Qq Li "!53746f72-6167-11aa-aa11-00306543ecac"
707 .It Cm apple-hfs
709 The scheme-specific types are
714 .Qq Li "!48465300-0000-11aa-aa11-00306543ecac"
716 .It Cm apple-label
719 The scheme-specific type is
720 .Qq Li "!4c616265-6c00-11aa-aa11-00306543ecac"
722 .It Cm apple-raid
724 The scheme-specific type is
725 .Qq Li "!52414944-0000-11aa-aa11-00306543ecac"
727 .It Cm apple-raid-offline
729 The scheme-specific type is
730 .Qq Li "!52414944-5f4f-11aa-aa11-00306543ecac"
732 .It Cm apple-tv-recovery
734 The scheme-specific type is
735 .Qq Li "!5265636f-7665-11aa-aa11-00306543ecac"
737 .It Cm apple-ufs
739 The scheme-specific types are
744 .Qq Li "!55465300-0000-11aa-aa11-00306543ecac"
746 .It Cm apple-zfs
748 The scheme-specific type is
749 .Qq Li "!6a898cc3-1dd2-11b2-99a6-080020736631"
756 .It Cm dragonfly-label32
762 The scheme-specific type is
763 .Qq Li "!9d087404-1ca5-11dc-8817-01301bb8a9f5"
765 .It Cm dragonfly-label64
770 The scheme-specific type is
771 .Qq Li "!3d48ce54-1d16-11dc-8696-01301bb8a9f5"
773 .It Cm dragonfly-legacy
776 The scheme-specific type is
777 .Qq Li "!bd215ab2-1d16-11dc-8696-01301bb8a9f5"
779 .It Cm dragonfly-ccd
783 The scheme-specific type is
784 .Qq Li "!dbd5211b-1ca5-11dc-8817-01301bb8a9f5"
786 .It Cm dragonfly-hammer
790 The scheme-specific type is
791 .Qq Li "!61dc63ac-6e38-11dc-8513-01301bb8a9f5"
793 .It Cm dragonfly-hammer2
797 The scheme-specific type is
798 .Qq Li "!5cbb9ad1-862d-11dc-a94d-01301bb8a9f5"
800 .It Cm dragonfly-swap
803 partition dedicated to swap space.
804 The scheme-specific type is
805 .Qq Li "!9d58fdbd-1ca5-11dc-8817-01301bb8a9f5"
807 .It Cm dragonfly-ufs
811 The scheme-specific type is
812 .Qq Li "!9d94ce7c-1ca5-11dc-8817-01301bb8a9f5"
814 .It Cm dragonfly-vinum
818 The scheme-specific type is
819 .Qq Li "!9dd4478f-1ca5-11dc-8817-01301bb8a9f5"
823 The scheme-specific type is
828 The scheme-specific type is
833 The scheme-specific type is
838 The scheme-specific type is
841 .It Cm hifive-fsbl
843 The scheme-specific type is
844 .Qq Li "!5b193300-fc78-40cd-8002-e86c45580b47"
846 .It Cm hifive-bbl
848 The scheme-specific type is
849 .Qq Li "!2e54b353-1271-4842-806f-e436d6af6985"
851 .It Cm linux-data
853 The scheme-specific types are
856 .Qq Li "!0fc63daf-8483-4772-8e79-3d69d8477de4"
858 .It Cm linux-lvm
860 The scheme-specific types are
863 .Qq Li "!e6d6d379-f507-44c2-a23c-238f2a3df928"
865 .It Cm linux-raid
867 The scheme-specific types are
870 .Qq Li "!a19d880f-05fc-4d3b-a006-743f0f84911e"
872 .It Cm linux-swap
873 A Linux partition dedicated to swap space.
874 The scheme-specific types are
877 .Qq Li "!0657fd6d-a4ab-43c4-84e5-0933c84b4f4f"
880 A partition that is sub-partitioned by a Master Boot Record (MBR).
882 .Qq Li "!024dee41-33e7-11d3-9d69-0008c781f39f"
884 .It Cm ms-basic-data
892 The scheme-specific type is
893 .Qq Li "!ebd0a0a2-b9e5-4433-87c0-68b6b72699c7"
895 .It Cm ms-ldm-data
897 The scheme-specific types are
900 .Qq Li "!af9b60a0-1431-4f62-bc68-3311714a69ad"
902 .It Cm ms-ldm-metadata
904 The scheme-specific type is
905 .Qq Li "!5808c8aa-7e8f-42e0-85d2-e1e90434cfb3"
907 .It Cm netbsd-ccd
911 The scheme-specific type is
912 .Qq Li "!2db519c4-b10f-11dc-b99b-0019d1879648"
914 .It Cm netbsd-cgd
918 The scheme-specific type is
919 .Qq Li "!2db519ec-b10f-11dc-b99b-0019d1879648"
921 .It Cm netbsd-ffs
925 The scheme-specific type is
926 .Qq Li "!49f48d5a-b10e-11dc-b99b-0019d1879648"
928 .It Cm netbsd-lfs
932 The scheme-specific type is
933 .Qq Li "!49f48d82-b10e-11dc-b99b-0019d1879648"
935 .It Cm netbsd-raid
939 The scheme-specific type is
940 .Qq Li "!49f48daa-b10e-11dc-b99b-0019d1879648"
942 .It Cm netbsd-swap
945 partition dedicated to swap space.
946 The scheme-specific type is
947 .Qq Li "!49f48d32-b10e-11dc-b99b-0019d1879648"
951 The scheme-specific type is
954 .It Cm prep-boot
957 The scheme-specific types are
960 .Qq Li "!9e1a2d38-c612-4316-aa26-8b49521e5a8b"
962 .It Cm solaris-boot
964 The scheme-specific type is
965 .Qq Li "!6a82cb45-1dd2-11b2-99a6-080020736631"
967 .It Cm solaris-root
969 The scheme-specific type is
970 .Qq Li "!6a85cf4d-1dd2-11b2-99a6-080020736631"
972 .It Cm solaris-swap
973 A illumos/Solaris partition dedicated to swap.
974 The scheme-specific type is
975 .Qq Li "!6a87c46f-1dd2-11b2-99a6-080020736631"
977 .It Cm solaris-backup
979 The scheme-specific type is
980 .Qq Li "!6a8b642b-1dd2-11b2-99a6-080020736631"
982 .It Cm solaris-var
984 The scheme-specific type is
985 .Qq Li "!6a8ef2e9-1dd2-11b2-99a6-080020736631"
987 .It Cm solaris-home
989 The scheme-specific type is
990 .Qq Li "!6a90ba39-1dd2-11b2-99a6-080020736631"
992 .It Cm solaris-altsec
994 The scheme-specific type is
995 .Qq Li "!6a9283a5-1dd2-11b2-99a6-080020736631"
997 .It Cm solaris-reserved
999 The scheme-specific type is
1000 .Qq Li "!6a945a3b-1dd2-11b2-99a6-080020736631"
1002 .It Cm u-boot-env
1003 A raw partition dedicated to U-Boot for storing its environment.
1004 The scheme-specific type is
1005 .Qq Li "!3de21764-95bd-54bd-a5c3-4abe786f38a8"
1007 .It Cm vmware-vmfs
1009 The scheme-specific types are
1012 .Qq Li "!aa31e02a-400f-11db-9590-000c2911d1b8"
1014 .It Cm vmware-vmkdiag
1016 The scheme-specific types are
1019 .Qq Li "!9d275380-40ad-11db-bf97-000c2911d1b8"
1021 .It Cm vmware-reserved
1023 The scheme-specific type is
1024 .Qq Li "!9198effc-31c0-11db-8f-78-000c2911d1b8"
1026 .It Cm vmware-vsanhdr
1028 The scheme-specific type is
1029 .Qq Li "!381cfccc-7288-11e0-92ee-000c2911d0b2"
1033 The scheme-specific attributes for EBR:
1034 .Bl -tag -width ".Cm active"
1038 The scheme-specific attributes for GPT:
1039 .Bl -tag -width ".Cm bootfailed"
1071 start-up script.
1083 The scheme-specific attributes for MBR:
1084 .Bl -tag -width ".Cm active"
1092 scheme, and may vary in size for different schemes.
1105 The Master Boot Record (MBR) uses a 512-byte bootstrap code image, embedded
1121 for multi-booting from a user-selected partition.
1129 It uses 8 KB size bootstrap code image
1138 .Cm freebsd-boot
1143 .Cm freebsd-boot
1157 .Cm freebsd-ufs
1166 .Cm freebsd-ufs
1178 .Cm freebsd-zfs
1190 .Cm apple-boot ,
1191 which should also be 800 KB in size.
1200 This option is used to specify action-specific operational flags.
1233 .Bd -literal -offset indent
1235 GEOM: provider: using the secondary instead -- recovery strongly advised.
1239 .Bd -literal -offset indent
1241 GEOM: provider: using the primary only -- recovery suggested.
1252 If the size of the device has changed (e.g.,\& volume expansion) the
1257 .Bd -literal -offset indent
1280 .Bl -tag -width indent
1291 When this variable is enable and new size of provider is detected, the schema
1320 .Cm ms-ldm-data
1330 If this variable is set to a non-zero value, the module will automatically
1331 recalculate the user-specified offset and size for alignment with the CHS
1346 The examples below assume that the disk's logical block size is 512
1347 bytes, regardless of its physical block size.
1351 with the GPT scheme and create boot, swap and root partitions.
1353 .Bd -literal -offset indent
1354 /sbin/gpart create -s GPT ada0
1357 Next, we install a protective MBR with the first-stage bootstrap code.
1359 entire disk, thus allowing non-GPT-aware BIOSes to boot from the disk
1362 .Bd -literal -offset indent
1363 /sbin/gpart bootcode -b /boot/pmbr ada0
1367 .Cm freebsd-boot
1368 partition to hold the second-stage boot loader, which will load the
1379 but smaller than 545 kB since the first-stage loader will load the
1382 We create a 472-block (236 kB) boot partition at offset 40, which is
1383 the size of the partition table (34 blocks or 17 kB) rounded up to the
1385 .Bd -literal -offset indent
1386 /sbin/gpart add -b 40 -s 472 -t freebsd-boot ada0
1387 /sbin/gpart bootcode -p /boot/gptboot -i 1 ada0
1390 We now create a 4 GB swap partition at the first available offset,
1392 .Bd -literal -offset indent
1393 /sbin/gpart add -s 4G -t freebsd-swap ada0
1396 Aligning the swap partition and all subsequent partitions on a 256 kB
1398 plain old disks with 512-byte blocks, through modern
1400 disks with 4096-byte physical blocks, to RAID volumes with stripe
1403 Finally, we create and format an 8 GB
1404 .Cm freebsd-ufs
1407 .Bd -literal -offset indent
1408 /sbin/gpart add -s 8G -t freebsd-ufs ada0
1409 /sbin/newfs -Uj /dev/ada0p3
1419 First, we create the partition table as well as a single partition 64 GB in
1420 size and an alignment of 4 kB, then we mark that partition active (bootable)
1421 and install the first-stage boot loader:
1422 .Bd -literal -offset indent
1423 /sbin/gpart create -s MBR ada0
1424 /sbin/gpart add -t freebsd -s 64G -a 4k ada0
1425 /sbin/gpart set -a active -i 1 ada0
1426 /sbin/gpart bootcode -b /boot/boot0 ada0
1435 .Bd -literal -offset indent
1436 /sbin/gpart create -s BSD -n 20 ada0s1
1439 We then create an 8 GB root partition and a 4 GB swap partition:
1440 .Bd -literal -offset indent
1441 /sbin/gpart add -t freebsd-ufs -s 8G ada0s1
1442 /sbin/gpart add -t freebsd-swap -s 4G ada0s1
1448 .Bd -literal -offset indent
1449 /sbin/gpart bootcode -b /boot/boot ada0s1
1461 .Bd -literal -offset indent
1462 /sbin/gpart delete -i 3 da0
1463 /sbin/gpart delete -i 2 da0
1464 /sbin/gpart delete -i 1 da0
1475 .Bd -literal -offset indent
1476 /sbin/gpart destroy -F da0
1481 .Bd -literal -offset indent
1487 .Bd -literal -offset indent
1488 /sbin/gpart restore -l da0 < /mnt/da0.backup
1497 .Bd -literal -offset indent
1498 /sbin/gpart backup ada0 | /sbin/gpart restore -F ada1 ada2
1515 .Em apple-zfs
1516 (6a898cc3-1dd2-11b2-99a6-080020736631) is also being used