Thread (8 messages) 8 messages, 2 authors, 2012-05-18

Re: Subdirectory creation on snapshot

From: David Sterba <hidden>
Date: 2012-05-14 16:27:07

On Mon, May 14, 2012 at 02:08:52PM +0200, David Sterba wrote:
Seems more like a bug, let's narrow down the conditions before we look
into the code.
And already known bug (with a proposed fix, cc'd author):

http://www.spinics.net/lists/linux-btrfs/msg15195.html

Quoting:

 # mkfs.btrfs /dev/sda1
 # mount /dev/sda1 /mnt
 # mkdir /mnt/1
 # cd /mnt/1
 # btrfs subvolume snapshot /mnt snap0
 # ll /mnt/1
 total 0
 drwxr-xr-x 1 root root 10 Jun 30 15:01 1
			^^^
 # ll /mnt/1/snap0/
 total 0
 drwxr-xr-x 1 root root 10 Jun 30 15:01 1
			^^^
			It is also 10, but...
 # ll /mnt/1/snap0/1
 total 0
 [None]
 # cd /mnt/1/snap0/1/snap0
 [Enter a unexisted directory successfully]
---

Though there's a difference, that in your listing the @working (here
it'd be snap0) is present.


david
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help