History log of /freebsd/sys/geom/part/g_part.c (Results 151 – 175 of 287)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7085c3bc 10-Nov-2010 Andrey V. Elsukov <ae@FreeBSD.org>

In r212554 name of G_PART_PARM_GEOM and G_PART_PARM_PROVIDER
ctlreq parameters was changed to "arg0". Fix the last place where
it is used.

Approved by: kib (mentor)


# 6f3544cd 26-Oct-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Merge svn+ssh://svn.freebsd.org/base/head@214309


# 51297f7d 25-Oct-2010 Dimitry Andric <dim@FreeBSD.org>

Sync: merge r214221 through r214352 from ^/head.


# e7926a37 25-Oct-2010 Andrey V. Elsukov <ae@FreeBSD.org>

Reimplemented "gpart destroy -F". Now it does all work in kernel.
This was needed for recover implementation.

Implement the recover command for GPT. Now GPT will marked as
corrupt when any of three

Reimplemented "gpart destroy -F". Now it does all work in kernel.
This was needed for recover implementation.

Implement the recover command for GPT. Now GPT will marked as
corrupt when any of three types of corruption will be detected:
1. Damaged primary GPT header or table
2. Damaged secondary GPT header or table
3. Secondary header is not located in the last LBA
Marked GPT becomes read-only. Any changes with corrupt table
are prohibited. Only "destroy" and "recover" commands are allowed.

Discussed with: geom@ (mostly silence)
Tested by: Ilya A. Arhipov
Approved by: mav (mentor)
MFC after: 2 weeks

show more ...


# 42a783c1 13-Oct-2010 Rui Paulo <rpaulo@FreeBSD.org>

The canonical way to print __func__ when using KASSERT() is to write
("%s", __func__). This avoids clang's -Wformat-string warnings.


# 21bf062e 09-Oct-2010 Andrey V. Elsukov <ae@FreeBSD.org>

Replace strlen(_PATH_DEV) with sizeof(_PATH_DEV) - 1.

Suggested by: kib
Approved by: kib (mentor)
MFC after: 5 days


# b1da166e 25-Sep-2010 Andrey V. Elsukov <ae@FreeBSD.org>

Some schemes can allocate memory for internal purposes but when
GEOM does withering this memory doesn't freed. Add G_PART_DESTROY
call to g_part_wither. Also add missed g_free() call to G_PART_READ
m

Some schemes can allocate memory for internal purposes but when
GEOM does withering this memory doesn't freed. Add G_PART_DESTROY
call to g_part_wither. Also add missed g_free() call to G_PART_READ
method for MBR and PC98 schemes.

Submitted by: jh (previous version)
Reviewed by: pjd
Approved by: kib (mentor)

show more ...


# 2738b715 15-Sep-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Change message when setting or unsetting attribute less confusing.
Before:

ada0 has <attrib> set

After:

<attrib> set on ada0

MFC after: 2 weeks


# 2f4e9a09 15-Sep-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Make the message that informs about bootcode being written to disk less
confusing.

Note there is still no information about 'partcode' being written to disk
(gpart bootcode -p <partcode> <disk>).

M

Make the message that informs about bootcode being written to disk less
confusing.

Note there is still no information about 'partcode' being written to disk
(gpart bootcode -p <partcode> <disk>).

Maybe in the future all the messages printed by gpart(8) on success could be
hidden under -v?

PR: bin/150239
Reported by: Roddi <roddi@me.com>
Submitted by: arundel
MFC after: 2 weeks

show more ...


# 8107ecf8 14-Sep-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Change all places where G_TYPE_ASCNUM is used to G_TYPE_NUMBER.
It turns out the new type wasn't really needed.
- Reorganize code a little bit.


# b3121363 14-Sep-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Simplify the code a bit.


# 946e2f35 13-Sep-2010 Pawel Jakub Dawidek <pjd@FreeBSD.org>

- Remove gc_argname field. It was introduced for gpart(8), but if I
understand everything correctly, we don't really need it.
- Provide default numeric value as strings. This allows to simplify
a

- Remove gc_argname field. It was introduced for gpart(8), but if I
understand everything correctly, we don't really need it.
- Provide default numeric value as strings. This allows to simplify
a lot of code.
- Bump version number.

show more ...


# b17f9ad2 16-Aug-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Merge svn+ssh://svn.freebsd.org/base/head@211344


# a45f4c6e 03-Aug-2010 Andrey V. Elsukov <ae@FreeBSD.org>

Check that table is not NULL before access, it can be NULL
for some cases.

Approved by: mav (mentor)
MFC after: 2 weeks


# b6d40281 02-Aug-2010 Andrey V. Elsukov <ae@FreeBSD.org>

Release access for consumers that are opened, but will be destroyed
indirectly by orphan method.

PR: 148688
Silence from: marcel
Approved by: mav (mentor)
MFC after: 2 weeks


# 733a9e27 23-Jul-2010 Andrey V. Elsukov <ae@FreeBSD.org>

Prevent access after free to table entry in case when
user deletes partition that not yet created (changes doesn't
committed to disk).

PR: 148687
Approved by: mav (mentor)
MFC after: 7 days


Revision tags: release/8.1.0_cvs, release/8.1.0
# d6c18050 07-Jul-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Merge svn+ssh://svn.freebsd.org/base/head@209749


# c6b2b6fc 26-Jun-2010 Rui Paulo <rpaulo@FreeBSD.org>

Add NTFS partition type to GEOM_MBR.


# e79044fd 07-Jun-2010 Andrey V. Elsukov <ae@FreeBSD.org>

MFC r207181:

Re-calculate a geometry when reprobing as well.

PR: kern/145452
Reviewed by: marcel
Approved by: kib (mentor)
Approved by: re (bz)


# f85c1a35 23-May-2010 Nathan Whitehorn <nwhitehorn@FreeBSD.org>

MFC r200534,200535:

Simplify partition type parsing by using a data-oriented model.
While there add more Apple and Linux partition types.

This unbreaks the build after r208341.

Reported by: many
P

MFC r200534,200535:

Simplify partition type parsing by using a data-oriented model.
While there add more Apple and Linux partition types.

This unbreaks the build after r208341.

Reported by: many
Pointy hat to: me

show more ...


# 9307d8bd 08-May-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Merge svn+ssh://svn.freebsd.org/base/head@207793


# a4bf5fb9 28-Apr-2010 Kirk McKusick <mckusick@FreeBSD.org>

Update to current version of head.


# c74f160c 25-Apr-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Re-calculate a geometry when reprobing as well.

PR: kern/145452
Reported by: "Andrey V. Elsukov" <bu7cher@yandex.ru>


# 6f702278 25-Apr-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Fix undo for schemes that have internal partitions. Internal partitions
do not constitute user-visible or active partitions and as such should
not prevent undoing pending operations.

While here, ini

Fix undo for schemes that have internal partitions. Internal partitions
do not constitute user-visible or active partitions and as such should
not prevent undoing pending operations.

While here, initialize the last usable sector for the placeholder geom
based on the null scheme, created to allow undoing the destruction of
a scheme. This gives consistent output with "gpart show".

Based on a patch from: "Andrey V. Elsukov" <bu7cher@yandex.ru>

show more ...


# 3f71c319 23-Apr-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Implement the resize verb and add support for resizing partitions
for all schemes but EBR. Quality work by Andrey!

Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>


12345678910>>...12