svn commit: r215570 - head/sbin/geom/class/part

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Nov 21 18:51:41 UTC 2010


On Sat, Nov 20, 2010 at 04:03:53PM +0000, Andrey V. Elsukov wrote:
> Author: ae
> Date: Sat Nov 20 16:03:53 2010
> New Revision: 215570
> URL: http://svn.freebsd.org/changeset/base/215570
> 
> Log:
>   Add to gpart(8) an ability to backup partition table and
>   restore it from given backup.
[...]
> +	{ "backup", 0, gpart_backup, {
> +		{ 'l', "backup_labels", NULL, G_TYPE_BOOL},
> +		G_OPT_SENTINEL },
> +	    "[-l] geom"
> +	},

My opinion was that it would be more handy to always backup labels, but
simply not always restore them. I'd much more prefer an option to
restore than to backup. Backup should contains everything and one should
be able to filter what to restore at restore time.

What do you think?

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20101121/df876921/attachment.pgp


More information about the svn-src-all mailing list