Re: ENOTEMPTY on "rm -rf" for snapshot and subvolume

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

 



On 04/08/2010 06:52 AM, Chris Mason wrote:
>        But either in that case too returning ENOTEMPTY does confuse a
>  user a lot. Isn't it valid
>        just by returning EPERM will explain a lot to users saying that
>  this is a snapshot of a
>        subvolume or a parent subvolume which is not supposed to be
>  deleted this way.
Good point, eperm might be more intuitive.

-chris
Thanks a lot for the inputs sent a patch for that.

Regards

--
Harshavardhana
http://www.gluster.com

--
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