[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] libparted: ignore zero-length devices

From: Otavio Salvador
Subject: Re: [PATCH] libparted: ignore zero-length devices
Date: Fri, 19 Nov 2010 19:14:24 -0200

On Wed, Nov 17, 2010 at 1:14 PM, Colin Watson <address@hidden> wrote:
> * libparted/arch/linux.c (_device_get_length): Return the value of
> PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by
> the test suite.

The patch itself looks OK however as discussed at IRC I think that
LD_PRELOAD could be used to override ioctl for the test case. This
would avoid us to use getenv on it.

Otavio Salvador                  O.S. Systems
E-mail: address@hidden http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br

reply via email to

[Prev in Thread] Current Thread [Next in Thread]