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

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

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]