[parted-devel] [PATCH] detect device map type

Guido Günther agx at sigxcpu.org
Tue May 13 17:14:22 UTC 2008


On Tue, May 13, 2008 at 07:11:50PM +0200, Guido Günther wrote:
> On Sun, May 11, 2008 at 07:14:14PM +0200, Jim Meyering wrote:
> > Sure.
> > Parted already has root-only tests; "grep privileges_required_ tests/*".
> > For portable losetup-using tests, see lvm's tests/.  If you prefer,
> > just write a few stand-alone sequences of commands that exercise the
> > new code and clean up afterward, and I'll convert them into test scripts.
> O.k., seems I overlooked this. Attached are some basic tests as you
> suggested I took some of the code from dmsetup.
The attached code is needed libparted handles DM_DEV_DIR during the
tests as dmsetup does.
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-honor-DM_DEV_DIR.patch
Type: text/x-diff
Size: 0 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20080513/f90752b4/attachment.patch 


More information about the parted-devel mailing list