lvcreate --type undocumented

Bug #274264 reported by Peter Cordes
4
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: lvm2

Ubuntu Hardy.

lvcreate --help shows
...
        [-t|--test]
        [--type VolumeType]
        [-v|--verbose]
...

 AFAICT, --type isn't documented in the man page or in /usr/share/doc/lvm2. And I didn't have any luck with google.

 lvcreate works fine without it, but I'm curious about what it lets you do...

upstream's man page currently doesn't have it either:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/LVM2/man/lvcreate.8?cvsroot=lvm2

 so this won't be fixed in Intrepid either, unless it's not in the --help output.

Revision history for this message
Alasdair G. Kergon (agk2) wrote : Re: [Bug 274264] [NEW] lvcreate --type undocumented

On Thu, Sep 25, 2008 at 05:30:03AM -0000, Peter Cordes wrote:
> AFAICT, --type isn't documented in the man page or in
> /usr/share/doc/lvm2. And I didn't have any luck with google.

It's an alternative way of specifying the type of segment to
create e.g. mirror, snapshot, error, zero etc.
E.g. lvcreate -s is treated internally as a shortcut for lvcreate --type
snapshot.

Maybe someone would submit a man page patch to the lvm-devel list...

Alasdair
--
<email address hidden>

Phillip Susi (psusi)
Changed in lvm2 (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Alasdair G. Kergon (agk2) wrote :

--type is now in the lvcreate man page upstream.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.