[libvirt] [PATCH] storage: List directory volumes for dir/fs/netfs pools

Eric Blake eblake at redhat.com
Thu May 26 19:25:24 UTC 2011


On 05/26/2011 12:58 PM, Daniel P. Berrange wrote:
> On Thu, May 26, 2011 at 02:10:24PM -0400, Cole Robinson wrote:
>> Since directories can be used for <filesystem> passthrough, they are
>> basically storage volumes. Not sure if anyone has an opinion about
>> not listing directories like ., .., or lost+found, but this patch
>> doesn't do anything explicit with them.
> 
> I think we should skip '.', '..', and 'lost+found' since they
> are special items, not things that can be used as volumes.

Definitely skip '.' and '..'.

'lost+found' might be a legitimate real directory at non-mount points,
but skipping it is okay by me.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110526/883c56d4/attachment-0001.sig>


More information about the libvir-list mailing list