#
a1fedf91 |
| 21-Oct-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Add the freebsd-zfs alias. Both APM and GPT have ZFS partition types.
|
#
0081f96e |
| 18-Jun-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Have gpart synthesize a disk geometry if the underlying provider don't have it. Some partitioning schemes, as well as file systems, operate on the geometry and without it such schemes (e.g. MBR) and
Have gpart synthesize a disk geometry if the underlying provider don't have it. Some partitioning schemes, as well as file systems, operate on the geometry and without it such schemes (e.g. MBR) and file systems (e.g. FAT) can't be created. This is useful for memory disks.
show more ...
|
#
33a558c7 |
| 06-Jun-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Call sbuf_finish() before sbuf_data() and sbuf_len().
|
#
ce3498bd |
| 16-May-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Fix a dereference in KASSERT.
|
#
35fe9df0 |
| 15-May-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
o Implement automatic commit. It's enabled when the flags parameter exists and contains the 'C' flag. o The partition label can be the empty string. It's how labels are cleared. o When an ac
o Implement automatic commit. It's enabled when the flags parameter exists and contains the 'C' flag. o The partition label can be the empty string. It's how labels are cleared. o When an action fails, lower permissions when they were raised in order to allow the action. A failed action will not result in any uncommitted changes. o Allow the flags paremeter to be present but empty. It's the equivalent of not being present.
show more ...
|
#
5100f9e9 |
| 09-May-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Write the output parameter (if present) for the add, create, delete destroy and modify verbs.
|
#
c8dffc52 |
| 09-May-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
When reverting the creation of a partitioning scheme on a provider, the failure to probe an existing partitioning scheme means that no previous partitioning scheme existed. Don't error. Just destroy
When reverting the creation of a partitioning scheme on a provider, the failure to probe an existing partitioning scheme means that no previous partitioning scheme existed. Don't error. Just destroy the geom.
show more ...
|
#
d287f590 |
| 08-May-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
MFp4: 119373: o Remove the query verb, along with the request and response parameters. o Add the version and output parameters. 119390: [APM,GPT] Properly clear deleted entries. 119394: o Mak
MFp4: 119373: o Remove the query verb, along with the request and response parameters. o Add the version and output parameters. 119390: [APM,GPT] Properly clear deleted entries. 119394: o Make the alias the standard and use the '!' to prefix literal partition types. o Treat schemes and partition types as case insensitive. 119462: [GPT] Fix a page fault caused when modifying a partition entry without a new partition type.
show more ...
|
#
e8e1f544 |
| 27-Apr-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Put the scheme (APM, GPT, etc) in the XML.
|
#
1d3aed33 |
| 07-Feb-2007 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Evolve the ctlreq interface added to geom_gpt into a generic partitioning class that supports multiple schemes. Current schemes supported are APM (Apple Partition Map) and GPT. Change all GEOM_APPLE
Evolve the ctlreq interface added to geom_gpt into a generic partitioning class that supports multiple schemes. Current schemes supported are APM (Apple Partition Map) and GPT. Change all GEOM_APPLE anf GEOM_GPT options into GEOM_PART_APM and GEOM_PART_GPT (resp).
The ctlreq interface supports verbs to create and destroy partitioning schemes on a disk; to add, delete and modify partitions; and to commit or undo changes made.
show more ...
|
#
c0156af7 |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Sync to r201658 on head.
|
#
0c8fd0c8 |
| 06-Jan-2010 |
Alexander Motin <mav@FreeBSD.org> |
Change the way in which zero stripesize is handled. Instead of reporting zero stripeoffset in such case (as if device has no stripes), report offset from the beginning of the media (as if device has
Change the way in which zero stripesize is handled. Instead of reporting zero stripeoffset in such case (as if device has no stripes), report offset from the beginning of the media (as if device has single infinite stripe).
This gives partitioning tools information, required to guess better partition alignment, in case if hardware doesn't report it's stripe size. For example, it should give disklabel info about odd offset made by fdisk.
show more ...
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|
#
33f7a412 |
| 14-Dec-2009 |
Rui Paulo <rpaulo@FreeBSD.org> |
Add Microsoft and NetBSD partition types handling.
|
#
f1317430 |
| 14-Dec-2009 |
Rui Paulo <rpaulo@FreeBSD.org> |
Simplify partition type parsing by using a data-oriented model. While there add more Apple and Linux partition types.
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
874108ae |
| 12-Nov-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
MFC @199204
|
#
f8727e71 |
| 09-Oct-2009 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
If provider is open for writing when we taste it, skip it for classes that depend on on-disk metadata. This was we won't attach to providers that are used by other classes. For example we don't want
If provider is open for writing when we taste it, skip it for classes that depend on on-disk metadata. This was we won't attach to providers that are used by other classes. For example we don't want to configure partitions on da0 if it is part of gmirror, what we really want is partitions on mirror/foo.
During regular work it works like this: if provider is open for writing a class receives the spoiled event from GEOM and detaches, once provider is closed the taste event is send again and class can rediscover its metadata if it is still there. This doesn't work that way when new class arrives, because GEOM gives all existing providers for it to taste, also those open for writing. Classes have to decided on their own if they want to deal with such providers (eg. geom_dev) or not (classes modified by this commit).
Reported by: des, Oliver Lehmann <lehmann@ans-netz.de> Tested by: des, Oliver Lehmann <lehmann@ans-netz.de> Discussed with: phk, marcel Reviewed by: marcel MFC after: 3 days
show more ...
|
#
1ee774f6 |
| 02-Oct-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
87f44706 |
| 24-Sep-2009 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Don't create more partitions than can fit in the table by checking that the index is within bounds.
|
#
11e9b8ba |
| 04-Aug-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC @196061
|
#
f43b57e3 |
| 08-Jul-2009 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Revert revisions 188839 and 188868. Use of the ioctl in geom_dev.c is invalid because the ioctl happens without prior open. The ioctl got introduced to provide backward compatibility for extended par
Revert revisions 188839 and 188868. Use of the ioctl in geom_dev.c is invalid because the ioctl happens without prior open. The ioctl got introduced to provide backward compatibility for extended partitions, but it ended up not being used because it didn't work as expected. Since there are no consumers of the ioctl and the implementation is broken, the best fix is to remove the code entirely.
Spotted by: phk Approved by: re (kensmith)
show more ...
|
#
e7153b25 |
| 07-May-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Merge from HEAD
|
Revision tags: release/7.2.0_cvs, release/7.2.0 |
|
#
6ad9a99f |
| 16-Apr-2009 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Add a compat option to the EBR scheme that controls the naming of the partitions (GEOM_PART_EBR_COMPAT). When compatibility is enabled, changes to the partitioning are disallowed.
Remove the device
Add a compat option to the EBR scheme that controls the naming of the partitions (GEOM_PART_EBR_COMPAT). When compatibility is enabled, changes to the partitioning are disallowed.
Remove the device name aliasing added previously to provide backward compatibility, but which in practice doesn't give us anything.
Enable compatibility on amd64 and i386.
show more ...
|
#
9c797940 |
| 13-Apr-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
853a10a5 |
| 10-Apr-2009 |
Andrew Thompson <thompsa@FreeBSD.org> |
Revert r190676,190677
The geom and CAM changes for root_hold are the wrong solution for USB design quirks.
Requested by: scottl
|