btrfs-extent-same(8)
π btrfs-extent-same(8) β System Manager's Manual π
okay bestie, pull up a chair, because this little tool from the btrfs family is short but iconic β it's btrfs-extent-same, and yes, it's exactly what it sounds like. π¦
β¨ NAME β¨
btrfs-extent-same β directly access the FIDEDUPRANGE ioctl π
πΈ SYNOPSIS πΈ
btrfs-extent-same extent-len file1 offset1 file2 offset2 [...]
π DESCRIPTION π
so basically, btrfs-extent-same is a lil wrapper around the FIDEDUPRANGE ioctl β like, it's the friendly face on the syscall, the group-chat translator for the kernel, yk? π«Ά
ngl there's one thing you absolutely have to remember: extent-len and all the offsets should be specified in bytes. bytes, bestie. not blocks, not vibes. bytes. π
π SEE ALSO π
filesystems(5)btrfs(8)ioctl_fideduprange(2)xfs_io(8)
and that's the whole page, no cap π this one's from the btrfs-extent-same manual, dated March 2014 β shoutout to the System Manager's Manual era, she ate and left no crumbs. πβ¨ go dedupe some extents, you main character. ππ
π¦ where this page comes from
- alpine 3.24: duperemove-doc 0.15.2-r0 Β· GPL-2.0-only
- arch rolling: duperemove 0.15.2-1 Β· GPL-2.0-only
- epel 10: duperemove 0.15.2-1.el10_1 Β· GPL-2.0-only
- fedora 43: duperemove 0.15.2-2.fc43 Β· GPL-2.0-only
- fedora 44: duperemove 0.15.2-3.fc44 Β· GPL-2.0-only
- nixos 26.05: duperemove 0.15.2
- nixpkgs unstable: duperemove 0.15.2
- opensuse-leap 16.0: btrfs-extent-same 0.15-160000.1.2 Β· GPL-2.0-only
- opensuse-leap 16.0: btrfs-extent-same 0.15-160000.1.2 Β· GPL-2.0-only
- opensuse-leap 16.0: btrfs-extent-same 0.15-160000.1.2 Β· GPL-2.0-only
- opensuse-leap 16.0: btrfs-extent-same 0.15-160000.1.2 Β· GPL-2.0-only
- ubuntu resolute: duperemove 0.15.2-1 Β· GPL-2.0-only
- ubuntu stonking: duperemove 0.15.2-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms