aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/disk
Commit message (Collapse)AuthorAgeFilesLines
* gpart(8): Recognize apple-zfs and solaris-reserved partition idsConrad Meyer2020-08-171-0/+17
| | | | | | | | | | | | | Introduce G_PART_ALIAS_SOLARIS_RESERVED, GPT_ENT_TYPE_SOLARIS_RESERVED et al., to make gpart show output more convenient on systems with illumos/openindiana disks visible. Submitted by: Juraj Lutter <otis AT sk.FreeBSD.org> Reviewed by: bcr(manpages), delphij, myself Differential Revision: https://reviews.freebsd.org/D26012 Notes: svn path=/head/; revision=364316
* Add DragonFly's partition number to fdisk(8) and diskmbr.hConrad Meyer2019-05-181-0/+1
| | | | | | | | | | | This change doesn't make any attempt to add support for these slices to the relevent GEOM classes. Just register the number in fdisk and the canonical list of kernel macros (diskmbr.h). Obtained from: DragonFlyBSD (794d80aa519b394b3174f20776a) (small subset of) Notes: svn path=/head/; revision=347948
* gpart: add fat32lba MBR partition typeEd Maste2018-05-041-0/+1
| | | | | | | | | | | | FAT32 partition with LBA addressing. Reviewed by: marcel MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D15266 Notes: svn path=/head/; revision=333233
* Add GUID and alias for Apple APFS partitionConrad Meyer2018-02-111-0/+2
| | | | | | | | PR: 225813 Submitted by: James Wright <james.wright AT jigsawdezign.com> Notes: svn path=/head/; revision=329119
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Remove pc98 support completely.Yoshihiro Takahashi2017-01-281-75/+0
| | | | | | | | | I thank all developers and contributors for pc98. Relnotes: yes Notes: svn path=/head/; revision=312910
* Re-apply change 306811 or alternatively, revert change 307385.Marcel Moolenaar2016-10-166-0/+764
| | | | Notes: svn path=/head/; revision=307386
* Revert change 306811 so that the change can be re-done usingMarcel Moolenaar2016-10-166-764/+0
| | | | | | | | svn copy instead of svn move. This to preserve history on the originals headers as well. Notes: svn path=/head/; revision=307385
* In order to allow mkimg(1) (and other tools) to become a build toolMarcel Moolenaar2016-10-076-0/+764
that can be compiled on various OSes (including on older versions of FreeBSD), make it possible to have it include the partitioning scheme definitions without pulling in FreeBSD specifics. In particular this means: o move the scheme definitions iand related defines to header files under sys/disk, o make them (more) portable by using uint#_t (where applicable) and renaming defines so that they at least have a good prefix, o make the new headers stand-alone so that they don't need FreeBSD definitions, like struct uuid(*) o keep the original headers for compatibility, but rewrite them to get the scheme definitions from <sys/disk/$scheme.h>. (*) since UUID/GUID type definitions are non-portable and the GPT scheme uses them, make it possible to have the scheme definitions use an external type by allowing consumers of the header to set GPT_UUID_TYPE. When GPT_UUID_TYPE has not been defined, the header will use it's own type definition, which is the same as struct uuid. The gpt_uuid_t typedef is created to abstract the details and allows consumers to refer to a single type. There is not conflict between the partitioning scheme headers and what is defined in them. All headers can be included in the same source files. Note: consumers of the old headers have not been changed yet. Such will be done if and when needed/beneficial. Reviewed by: imp, jhb MFC after: 1 month Sponsored by: Bracket Computing Notes: svn path=/head/; revision=306811