Re: crash when mounting subvolume in a subdirectory

2010-12-06 Thread C Anthony Risinger
On Mon, Dec 6, 2010 at 7:40 PM, Li Zefan wrote: > Michael Niederle wrote: >> Hi! >> >> I'm not sure whether this *should* be possible, but I think it *shouldn't* >> crash: > > It's currently not allowed to mount a subvolume which is not created in > the root directory of the default subvolume, so

Re: crash when mounting subvolume in a subdirectory

2010-12-06 Thread Li Zefan
Michael Niederle wrote: > Hi! > > I'm not sure whether this *should* be possible, but I think it *shouldn't* > crash: > > I created a snapshot of the root directory within a subdirectory: > > # mount /dev/sde2 /mnt > # cd /mnt > # mkdir save > # btrfs subvolume snapshot . save/snap1 > # umount /

crash when mounting subvolume in a subdirectory

2010-12-06 Thread Michael Niederle
Hi! I'm not sure whether this *should* be possible, but I think it *shouldn't* crash: I created a snapshot of the root directory within a subdirectory: # mount /dev/sde2 /mnt # cd /mnt # mkdir save # btrfs subvolume snapshot . save/snap1 # umount /mnt Then I tried to mount the snapshot: # moun