#
1.44 |
|
26-Mar-2019 |
martin |
When displaying a single partition (gpt show -i ...) display offset and size in sectors (instead of the totally confusing bytes), followed by the humanized byte offset/size.
This makes the numbers match the "gpt show" or "gpt show -a" output.
|
#
1.43 |
|
24-Mar-2019 |
martin |
Make the "show" subcommand accept -b startsec to identify a partition (very usefull for scripts and other robotic callers).
|
#
1.42 |
|
03-Mar-2019 |
jnemeth |
Make it clear when displaying data from the MBR.
|
Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
|
#
1.41 |
|
07-Sep-2017 |
christos |
use __arraycount
|
#
1.40 |
|
06-Sep-2017 |
christos |
- make sure that the utf16 string is padded with 0's where needed. - since the utf16 string is not 0 terminated, pass the size of the string.
|
Revision tags: matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
|
#
1.39 |
|
05-Oct-2016 |
kre |
branches: 1.39.6;
Avoiding having parameter name shadow its own function's name. Strictly this shouldnt be (and hasn't been for almost a year) a problem, but there are compilers that warn about locals shadowing globals (which this is/was) and it is easy to avoid, so ... No functinal difference.
|
Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.38 |
|
09-Jun-2016 |
kre |
branches: 1.38.2;
Make "gpt show" add an "(active)" annotation to the PMBR output line when it has been marked active for legacy (non UEFI) booting. This was (kind of obviously) intended by the previous commit, but...
|
#
1.37 |
|
09-Jun-2016 |
christos |
PR/51230: Add the ability to set the active flag in the PMBR.
|
#
1.36 |
|
31-May-2016 |
dholland |
PR 50756 David Binderman: avoid running off the end of an array in case thing we're looking for isn't there. Which is probably impossible, but that's not obvious.
|
#
1.35 |
|
29-Dec-2015 |
christos |
- add more informational messages - handle case where last argument is an option not a device (set -l)
|
#
1.34 |
|
26-Dec-2015 |
martin |
Improve "show -a" display: split human readable Type: field from the Type-GUID to avoid wrapping in the common case; add a human readable Size: display.
|
#
1.33 |
|
25-Dec-2015 |
wiz |
Simplify usage for gpt show.
|
#
1.32 |
|
25-Dec-2015 |
martin |
Add a -a flag to the show command, so we can display the full GPT with all information in one go.
|
#
1.31 |
|
06-Dec-2015 |
christos |
Add listing commands for type, set and unset. Add help and formatting for set and unset. Change show to print all the attribute info in one line.
|
#
1.30 |
|
04-Dec-2015 |
christos |
fix label printing.
|
#
1.29 |
|
03-Dec-2015 |
christos |
WARNS=6
|
#
1.28 |
|
03-Dec-2015 |
christos |
eliminate static globals so that commands can be re-used.
|
#
1.27 |
|
02-Dec-2015 |
christos |
refactor the utf code so that it does not leak memory.
|
#
1.26 |
|
01-Dec-2015 |
christos |
merge command line parsers and check all memory allocations.
|
#
1.25 |
|
01-Dec-2015 |
christos |
Refactor the command dispatching and help printing logic.
|
#
1.24 |
|
01-Dec-2015 |
christos |
Firs step of refactoring, remove all globals, factor out some common code, handle alternate usage but not advertise it.
|
#
1.23 |
|
29-Nov-2015 |
christos |
Add the missing cases.
|
#
1.22 |
|
29-Nov-2015 |
christos |
merge the create errors in one place and fix them.
|
#
1.21 |
|
30-Sep-2014 |
jnemeth |
correctly show partition type in the new world order
|
#
1.20 |
|
30-Sep-2014 |
jnemeth |
Check size of correct buffer. Note, just being pedantic as the buffer being checked is the same size as the one that should have been checked.
|
#
1.19 |
|
30-Sep-2014 |
christos |
Add internal uuid support, since the linux+macos versions of the library are different than than *bsd ones, and others might not have it at all.
|
#
1.18 |
|
30-Sep-2014 |
christos |
remove compat defines.
|
#
1.17 |
|
29-Sep-2014 |
christos |
more toolification changes
|
#
1.16 |
|
29-Sep-2014 |
christos |
minor toolification: need libprop...
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.15 |
|
18-Dec-2013 |
jnemeth |
branches: 1.15.4; If we want to GUIDs to display with correct endian, it helps to decode it first.
|
#
1.14 |
|
09-Dec-2013 |
jnemeth |
For the "show -i <entry>" subcommand, print Start and Size both in terms of number of sectors and bytes.
|
#
1.13 |
|
08-Dec-2013 |
jnemeth |
fix off-by-one error
|
#
1.12 |
|
30-Nov-2013 |
jnemeth |
Add two new options:
-g which shows the GUID for a partition -i which shows all the gory details for a particular option
XXX the output format of -i is subject to change
|
#
1.11 |
|
19-Oct-2013 |
jnemeth |
recognize FreeBSD ZFS partition
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.10 |
|
13-Apr-2013 |
jakllsch |
Make pre-initialized partition type uuid_t symbols 'static const'.
This conserves a few hundred bytes of total program size by allowing the linker to merge duplicates.
|
#
1.9 |
|
13-Apr-2013 |
jakllsch |
Clean up gpt(8) a bit more
uuid_create_nil(3) and uuid_is_nil(3) take a uuid_t*, not a pointer to an array of bytes merely casted to compatible type.
Additonally, there no need for extra casts and address-of operations when using le_uuid_*() functions.
Furthermore, le_uuid_*() are identical to uuid_*_le functions in libc/libuuid, so use those instead on NetBSD.
|
Revision tags: agc-symver-base yamt-pagecache-base8
|
#
1.8 |
|
18-Jan-2013 |
jakllsch |
Now that GPT_ENT_TYPE_LINUX_DATA is diffrent from the Windows one, use it.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.7 |
|
27-Aug-2011 |
joerg |
branches: 1.7.2; 1.7.8; Use __dead
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
#
1.6 |
|
06-Jan-2011 |
jakllsch |
UFS is called FFS in the NetBSD case. Display as such and accept as input.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
|
#
1.5 |
|
24-Feb-2008 |
christos |
PR/38094: Robert Millan: support "BIOS Boot" partition type in gpt(8)
|
Revision tags: mjf-devfs-base matt-armv6-base
|
#
1.4 |
|
28-Dec-2007 |
riz |
branches: 1.4.2; 1.4.4; As discussed on tech-userlevel, add NetBSD GPT partition types for swap, ffs, lfs, raidframe, ccd and cgd. gpt(8) now defaults to NetBSD ffs if no type is given, but previous FreeBSD types are still recognized in the DKWEDGE_AUTODISCOVER code.
|
#
1.3 |
|
18-Dec-2007 |
riz |
Fix the usage strings for each command, and print them all for the "global" usage. It's still a little ugly, but hopefully not as fantastically confusing as before...
|
Revision tags: netbsd-4-0-1-RELEASE matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-mips64-base netbsd-4-base
|
#
1.2 |
|
15-Oct-2006 |
christos |
branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; Make this work under NetBSD.
|
#
1.1 |
|
15-Oct-2006 |
christos |
branches: 1.1.1; Initial revision
|
#
1.41 |
|
07-Sep-2017 |
christos |
use __arraycount
|
#
1.40 |
|
06-Sep-2017 |
christos |
- make sure that the utf16 string is padded with 0's where needed. - since the utf16 string is not 0 terminated, pass the size of the string.
|
Revision tags: perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
|
#
1.39 |
|
05-Oct-2016 |
kre |
Avoiding having parameter name shadow its own function's name. Strictly this shouldnt be (and hasn't been for almost a year) a problem, but there are compilers that warn about locals shadowing globals (which this is/was) and it is easy to avoid, so ... No functinal difference.
|
Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.38 |
|
09-Jun-2016 |
kre |
branches: 1.38.2;
Make "gpt show" add an "(active)" annotation to the PMBR output line when it has been marked active for legacy (non UEFI) booting. This was (kind of obviously) intended by the previous commit, but...
|
#
1.37 |
|
09-Jun-2016 |
christos |
PR/51230: Add the ability to set the active flag in the PMBR.
|
#
1.36 |
|
31-May-2016 |
dholland |
PR 50756 David Binderman: avoid running off the end of an array in case thing we're looking for isn't there. Which is probably impossible, but that's not obvious.
|
#
1.35 |
|
29-Dec-2015 |
christos |
- add more informational messages - handle case where last argument is an option not a device (set -l)
|
#
1.34 |
|
26-Dec-2015 |
martin |
Improve "show -a" display: split human readable Type: field from the Type-GUID to avoid wrapping in the common case; add a human readable Size: display.
|
#
1.33 |
|
25-Dec-2015 |
wiz |
Simplify usage for gpt show.
|
#
1.32 |
|
25-Dec-2015 |
martin |
Add a -a flag to the show command, so we can display the full GPT with all information in one go.
|
#
1.31 |
|
06-Dec-2015 |
christos |
Add listing commands for type, set and unset. Add help and formatting for set and unset. Change show to print all the attribute info in one line.
|
#
1.30 |
|
04-Dec-2015 |
christos |
fix label printing.
|
#
1.29 |
|
03-Dec-2015 |
christos |
WARNS=6
|
#
1.28 |
|
03-Dec-2015 |
christos |
eliminate static globals so that commands can be re-used.
|
#
1.27 |
|
02-Dec-2015 |
christos |
refactor the utf code so that it does not leak memory.
|
#
1.26 |
|
01-Dec-2015 |
christos |
merge command line parsers and check all memory allocations.
|
#
1.25 |
|
01-Dec-2015 |
christos |
Refactor the command dispatching and help printing logic.
|
#
1.24 |
|
01-Dec-2015 |
christos |
Firs step of refactoring, remove all globals, factor out some common code, handle alternate usage but not advertise it.
|
#
1.23 |
|
29-Nov-2015 |
christos |
Add the missing cases.
|
#
1.22 |
|
29-Nov-2015 |
christos |
merge the create errors in one place and fix them.
|
#
1.21 |
|
30-Sep-2014 |
jnemeth |
correctly show partition type in the new world order
|
#
1.20 |
|
30-Sep-2014 |
jnemeth |
Check size of correct buffer. Note, just being pedantic as the buffer being checked is the same size as the one that should have been checked.
|
#
1.19 |
|
30-Sep-2014 |
christos |
Add internal uuid support, since the linux+macos versions of the library are different than than *bsd ones, and others might not have it at all.
|
#
1.18 |
|
30-Sep-2014 |
christos |
remove compat defines.
|
#
1.17 |
|
29-Sep-2014 |
christos |
more toolification changes
|
#
1.16 |
|
29-Sep-2014 |
christos |
minor toolification: need libprop...
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.15 |
|
18-Dec-2013 |
jnemeth |
branches: 1.15.4; If we want to GUIDs to display with correct endian, it helps to decode it first.
|
#
1.14 |
|
09-Dec-2013 |
jnemeth |
For the "show -i <entry>" subcommand, print Start and Size both in terms of number of sectors and bytes.
|
#
1.13 |
|
08-Dec-2013 |
jnemeth |
fix off-by-one error
|
#
1.12 |
|
30-Nov-2013 |
jnemeth |
Add two new options:
-g which shows the GUID for a partition -i which shows all the gory details for a particular option
XXX the output format of -i is subject to change
|
#
1.11 |
|
19-Oct-2013 |
jnemeth |
recognize FreeBSD ZFS partition
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.10 |
|
13-Apr-2013 |
jakllsch |
Make pre-initialized partition type uuid_t symbols 'static const'.
This conserves a few hundred bytes of total program size by allowing the linker to merge duplicates.
|
#
1.9 |
|
13-Apr-2013 |
jakllsch |
Clean up gpt(8) a bit more
uuid_create_nil(3) and uuid_is_nil(3) take a uuid_t*, not a pointer to an array of bytes merely casted to compatible type.
Additonally, there no need for extra casts and address-of operations when using le_uuid_*() functions.
Furthermore, le_uuid_*() are identical to uuid_*_le functions in libc/libuuid, so use those instead on NetBSD.
|
Revision tags: agc-symver-base yamt-pagecache-base8
|
#
1.8 |
|
18-Jan-2013 |
jakllsch |
Now that GPT_ENT_TYPE_LINUX_DATA is diffrent from the Windows one, use it.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.7 |
|
27-Aug-2011 |
joerg |
branches: 1.7.2; 1.7.8; Use __dead
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
#
1.6 |
|
06-Jan-2011 |
jakllsch |
UFS is called FFS in the NetBSD case. Display as such and accept as input.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
|
#
1.5 |
|
24-Feb-2008 |
christos |
PR/38094: Robert Millan: support "BIOS Boot" partition type in gpt(8)
|
Revision tags: mjf-devfs-base matt-armv6-base
|
#
1.4 |
|
28-Dec-2007 |
riz |
branches: 1.4.2; 1.4.4; As discussed on tech-userlevel, add NetBSD GPT partition types for swap, ffs, lfs, raidframe, ccd and cgd. gpt(8) now defaults to NetBSD ffs if no type is given, but previous FreeBSD types are still recognized in the DKWEDGE_AUTODISCOVER code.
|
#
1.3 |
|
18-Dec-2007 |
riz |
Fix the usage strings for each command, and print them all for the "global" usage. It's still a little ugly, but hopefully not as fantastically confusing as before...
|
Revision tags: netbsd-4-0-1-RELEASE matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-mips64-base netbsd-4-base
|
#
1.2 |
|
15-Oct-2006 |
christos |
branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; Make this work under NetBSD.
|
#
1.1 |
|
15-Oct-2006 |
christos |
branches: 1.1.1; Initial revision
|
Revision tags: pgoyette-localcount-20161104
|
#
1.39 |
|
05-Oct-2016 |
kre |
Avoiding having parameter name shadow its own function's name. Strictly this shouldnt be (and hasn't been for almost a year) a problem, but there are compilers that warn about locals shadowing globals (which this is/was) and it is easy to avoid, so ... No functinal difference.
|
Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
|
#
1.38 |
|
09-Jun-2016 |
kre |
branches: 1.38.2;
Make "gpt show" add an "(active)" annotation to the PMBR output line when it has been marked active for legacy (non UEFI) booting. This was (kind of obviously) intended by the previous commit, but...
|
#
1.37 |
|
09-Jun-2016 |
christos |
PR/51230: Add the ability to set the active flag in the PMBR.
|
#
1.36 |
|
31-May-2016 |
dholland |
PR 50756 David Binderman: avoid running off the end of an array in case thing we're looking for isn't there. Which is probably impossible, but that's not obvious.
|
#
1.35 |
|
29-Dec-2015 |
christos |
- add more informational messages - handle case where last argument is an option not a device (set -l)
|
#
1.34 |
|
26-Dec-2015 |
martin |
Improve "show -a" display: split human readable Type: field from the Type-GUID to avoid wrapping in the common case; add a human readable Size: display.
|
#
1.33 |
|
25-Dec-2015 |
wiz |
Simplify usage for gpt show.
|
#
1.32 |
|
25-Dec-2015 |
martin |
Add a -a flag to the show command, so we can display the full GPT with all information in one go.
|
#
1.31 |
|
06-Dec-2015 |
christos |
Add listing commands for type, set and unset. Add help and formatting for set and unset. Change show to print all the attribute info in one line.
|
#
1.30 |
|
04-Dec-2015 |
christos |
fix label printing.
|
#
1.29 |
|
03-Dec-2015 |
christos |
WARNS=6
|
#
1.28 |
|
03-Dec-2015 |
christos |
eliminate static globals so that commands can be re-used.
|
#
1.27 |
|
02-Dec-2015 |
christos |
refactor the utf code so that it does not leak memory.
|
#
1.26 |
|
01-Dec-2015 |
christos |
merge command line parsers and check all memory allocations.
|
#
1.25 |
|
01-Dec-2015 |
christos |
Refactor the command dispatching and help printing logic.
|
#
1.24 |
|
01-Dec-2015 |
christos |
Firs step of refactoring, remove all globals, factor out some common code, handle alternate usage but not advertise it.
|
#
1.23 |
|
29-Nov-2015 |
christos |
Add the missing cases.
|
#
1.22 |
|
29-Nov-2015 |
christos |
merge the create errors in one place and fix them.
|
#
1.21 |
|
30-Sep-2014 |
jnemeth |
correctly show partition type in the new world order
|
#
1.20 |
|
30-Sep-2014 |
jnemeth |
Check size of correct buffer. Note, just being pedantic as the buffer being checked is the same size as the one that should have been checked.
|
#
1.19 |
|
30-Sep-2014 |
christos |
Add internal uuid support, since the linux+macos versions of the library are different than than *bsd ones, and others might not have it at all.
|
#
1.18 |
|
30-Sep-2014 |
christos |
remove compat defines.
|
#
1.17 |
|
29-Sep-2014 |
christos |
more toolification changes
|
#
1.16 |
|
29-Sep-2014 |
christos |
minor toolification: need libprop...
|
Revision tags: netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.15 |
|
18-Dec-2013 |
jnemeth |
branches: 1.15.4; If we want to GUIDs to display with correct endian, it helps to decode it first.
|
#
1.14 |
|
09-Dec-2013 |
jnemeth |
For the "show -i <entry>" subcommand, print Start and Size both in terms of number of sectors and bytes.
|
#
1.13 |
|
08-Dec-2013 |
jnemeth |
fix off-by-one error
|
#
1.12 |
|
30-Nov-2013 |
jnemeth |
Add two new options:
-g which shows the GUID for a partition -i which shows all the gory details for a particular option
XXX the output format of -i is subject to change
|
#
1.11 |
|
19-Oct-2013 |
jnemeth |
recognize FreeBSD ZFS partition
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.10 |
|
13-Apr-2013 |
jakllsch |
Make pre-initialized partition type uuid_t symbols 'static const'.
This conserves a few hundred bytes of total program size by allowing the linker to merge duplicates.
|
#
1.9 |
|
13-Apr-2013 |
jakllsch |
Clean up gpt(8) a bit more
uuid_create_nil(3) and uuid_is_nil(3) take a uuid_t*, not a pointer to an array of bytes merely casted to compatible type.
Additonally, there no need for extra casts and address-of operations when using le_uuid_*() functions.
Furthermore, le_uuid_*() are identical to uuid_*_le functions in libc/libuuid, so use those instead on NetBSD.
|
Revision tags: agc-symver-base yamt-pagecache-base8
|
#
1.8 |
|
18-Jan-2013 |
jakllsch |
Now that GPT_ENT_TYPE_LINUX_DATA is diffrent from the Windows one, use it.
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.7 |
|
27-Aug-2011 |
joerg |
branches: 1.7.2; 1.7.8; Use __dead
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base
|
#
1.6 |
|
06-Jan-2011 |
jakllsch |
UFS is called FFS in the NetBSD case. Display as such and accept as input.
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-mips64-premerge-20101231 matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base mjf-devfs2-base keiichi-mipv6-base matt-armv6-nbase hpcarm-cleanup-base
|
#
1.5 |
|
24-Feb-2008 |
christos |
PR/38094: Robert Millan: support "BIOS Boot" partition type in gpt(8)
|
Revision tags: mjf-devfs-base matt-armv6-base
|
#
1.4 |
|
28-Dec-2007 |
riz |
branches: 1.4.2; 1.4.4; As discussed on tech-userlevel, add NetBSD GPT partition types for swap, ffs, lfs, raidframe, ccd and cgd. gpt(8) now defaults to NetBSD ffs if no type is given, but previous FreeBSD types are still recognized in the DKWEDGE_AUTODISCOVER code.
|
#
1.3 |
|
18-Dec-2007 |
riz |
Fix the usage strings for each command, and print them all for the "global" usage. It's still a little ugly, but hopefully not as fantastically confusing as before...
|
Revision tags: netbsd-4-0-1-RELEASE matt-armv6-prevmlocking wrstuden-fixsa-base-1 netbsd-4-0-RELEASE cube-autoconf-base netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 matt-mips64-base netbsd-4-base
|
#
1.2 |
|
15-Oct-2006 |
christos |
branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; Make this work under NetBSD.
|
#
1.1 |
|
15-Oct-2006 |
christos |
branches: 1.1.1; Initial revision
|