From: Harshavardhana <harsha@gluster.com>
To: Jay Sullivan <notfed@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: rmdir SubVolume?
Date: Tue, 11 May 2010 08:57:23 -0700 [thread overview]
Message-ID: <4BE97E63.8070409@gluster.com> (raw)
In-Reply-To: <AANLkTin_5GBuC9IzSzoY6hw4brLApJd2FeYfNj6Mo5Jc@mail.gmail.com>
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
prev parent reply other threads:[~2010-05-11 15:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-11 15:51 rmdir SubVolume? Jay Sullivan
2010-05-11 15:57 ` Harshavardhana [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BE97E63.8070409@gluster.com \
--to=harsha@gluster.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=notfed@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.