sharedextents

command module
v0.0.0-...-8f0b791 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2016 License: MIT Imports: 4 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL