On 05/11/2010 08:51 AM, Jay Sullivan wrote:
Hi,
I'm just experimenting with btrfs (am currently using btrfs-tools
v0.19). I'm curious about deleting subvolume (and snapshot)
directories. What exactly is the technical reason why we need a
special command "btrfsctl -D" to delete these? What's the obstacle
preventing "rmdir" from being used on these?
rmdir returns ENOTEMPTY as of now, there was a patch which i sent some
time back to return EPERM to make it more intuitive. I am not sure will
it be included.
Since there is another idea of actually implementing the btrfsctl -D
part into "btrfs_rmdir"
itself. Never got much time to look into it.
Regards
--
Harshavardhana
Gluster Inc - http://www.gluster.com
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html