Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

sharedextents - show proportion of physical extents shared between two files

Discover when two files on a CoW filesystem share identical physical data.

Warning: Proof-of-concept. Alpha quality software, use at your own risk.

See Also:

  • fienode, for finding identical matches via a hash.
  • filefrag -v, for listing physical extents.

Installation

From source

go get github.com/pwaller/sharedextents

Binary Download

See releases.

Usage: sharedextents <a> <b>

For example:

$ sharedextents a b
1142734848 / 1679605760 bytes (68.04%)

# (note: files a and b share some physical extents)

Exit is status 0 if extents are shared between a and b, and 1 otherwise.

Caveats

There may be bugs. This will delete all your data and eat your cat. When it does, that is your problem. Keep backups, folks.

License

MIT.

About

Show proportion of physical extents shared between two files

Resources

License

Languages

You can’t perform that action at this time.