cannot move ro-snapshot directly but indirectly works

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

 



Hey.

Not sure whether this is intended or not, but it feels at least
somewhat strange:

Consider I have a readonly snapshot (the only subvol here):
/btrfs/snapshots/ro-snapshot
now I want to move it to the dir:
/btrfs/snapshots/foo/
i.e. 
mv /btrfs/snapshots/ro-snapshot
/btrfs/snapshots/foo/
but the mv complains about read-only filesystem.

However I can do something like:
mkdir /btrfs/tmp
mv  /btrfs/snapshots /btrfs/tmp/
mv /btrfs/tmp /btrfs/snapshots
mv /btrfs/snapshots/snapshots /btrfs/snapshots/foo
which would give me just the dir structure I tried to get before.


Long story short... I don't get why one cannot move a ro-snapshot directly, when one can move it indirectly in the fs-hierarchy.


Cheers,
Chris.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[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