From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Nicholas Subject: Re: [PATCH] Allow blktap specification to be a path to a file Date: Thu, 30 Aug 2007 11:43:19 -0400 Message-ID: <46D6E597.3040908@virtualiron.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1954243037==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Ben Guthro List-Id: xen-devel@lists.xenproject.org --===============1954243037== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hello Keir,

Please try a SLES10 SP1 distro :: coreutils-5.93-22.9.x86_64.rpm
You will find that readlink does not return anything for a real file.

Thank you,

Joshua

===========================================
Keir Fraser wrote:
On 27/8/07 20:05, "Ben Guthro" <bguthro@virtualiron.com> wrote:

Minor change to allow a blktap specification to be an actual
path to a file instead of a soft link to a file

Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
Signed-off-by: Josh Nicholas <jnicholas@virtualiron.com>

readlink should work fine on a real file, and just return its filename
unmodified.

 -- Keir


--===============1954243037== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1954243037==--