Re: btrfs doesn't report proper error when removing subvolume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> petrb@bots-bnr1:/mnt$ btrfs subvolume delete ext2_saved/
> Delete subvolume '/mnt/ext2_saved'
> ERROR: cannot delete '/mnt/ext2_saved'
> 
> this is not really very descriptive. It would be really cool if it
> told me why it can't delete it.

Hmm.  I think this has been fixed for a long time.

  [zab@f18 ~]$ btrfs sub delete /mnt/btrfs/blah/
  Delete subvolume '/mnt/btrfs/blah'
  ERROR: cannot delete '/mnt/btrfs/blah' - Operation not permitted

http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-progs.git;a=commit;h=17cf679fb3622a9e3452777d07fcf3a346266ff1

Where'd you find that btrfs-progs version? :)

- z
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux