fred.kite.dml@mailo.com wrote:
My family computer has a main Btrfs partition (@ and @home sub-volumes) and several users use this computer. I currently use Jdupes to perform the deduplication of each user's home folder.
Would it be safe to perform the deduplication with a single command on /home instead of each user's folder separately? Will it create problems if the same file is found in several home folders but has different ownership and permissions?
If you're using BEES, you don't have a choice: it runs on the
whole filesystem.
If you're using duperemove, there is a read-only mode where it
tells you what it would do but does not do it.
Neither one will cause problems because of ownership or
permissions differences -- that metadata will remain intact for
each referenced file.
You are unlikely to be saving much space overall, unless your
family is in the habit of copying media files back and forth or
something similar.
-dsr-