---
name: "btrfs-extent-same"
section: "8"
platform: "linux"
package: "duperemove"
version: "0.15.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/btrfs-extent-same"
---

# btrfs-extent-same(8)

directly access the FIDEDUPRANGE ioctl

## NAME

`btrfs-extent-same` - directly access the FIDEDUPRANGE ioctl

## SYNOPSIS

**btrfs-extent-same** *extent-len* *file1* *offset1* *file2* *offset2* *\[...\]*

## DESCRIPTION

`btrfs-extent-same` is a wrapper around the FIDEDUPRANGE ioctl. `extent-len` and all offsets should be specified in bytes.

## SEE ALSO

- •

  `filesystems(5)`

- •

  `btrfs(8)`

- •

  `ioctl_fideduprange(2)`

- •

  `xfs_io(8)`
