this post was submitted on 06 May 2024
55 points (98.2% liked)
Linux Gaming
15911 readers
8 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I found that copying directories was much more convenient for this kind of experimentation, since I was usually already working in a filemanager anyways. And thanks to BTRFS's copy-on-write support it was also instantaneous and didn't take up any additional space. So in the end very similar to snapshots.
+1
cp -a --reflink
is super useful for making quick no cost clones of huge directories.Afaik the
--reflink
isn't needed any more with modern coreutils versions.