backup a partition table with gpart(8)

Marcel Moolenaar xcllnt at mac.com
Thu Nov 18 20:56:04 UTC 2010


On Nov 18, 2010, at 12:44 PM, Greg Rivers wrote:

> 
> But bsdlabel's behavior is consistent with fdisk(8) too (-p, -f), and also with Solaris' prtvtoc(1M) and fmthard(1M).  Historically, it's pretty much expected that partition managers work that way or at least have that feature.

It's a nice feature, but it isn't always possible or easy
to implement with the right semantics. 

> Maybe "gpart show" shouldn't be overloaded, but having something like "gpart backup" and "gpart restore" working on a format that's easily readable and editable by a person would be a real feature.

I agree.

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-geom mailing list