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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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