* rmdir SubVolume?
@ 2010-05-11 15:51 Jay Sullivan
2010-05-11 15:57 ` Harshavardhana
0 siblings, 1 reply; 2+ messages in thread
From: Jay Sullivan @ 2010-05-11 15:51 UTC (permalink / raw)
To: linux-btrfs
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?
--
Jay Sullivan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rmdir SubVolume?
2010-05-11 15:51 rmdir SubVolume? Jay Sullivan
@ 2010-05-11 15:57 ` Harshavardhana
0 siblings, 0 replies; 2+ messages in thread
From: Harshavardhana @ 2010-05-11 15:57 UTC (permalink / raw)
To: Jay Sullivan; +Cc: linux-btrfs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-11 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 15:51 rmdir SubVolume? Jay Sullivan
2010-05-11 15:57 ` Harshavardhana
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).