HARDLINK(1) hardlink - ' hardlink [] |... hardlink - , --, . , hardlink , , . . memcmp . ( SHA256); Linux, . <<>> (32 ). -. <<>> , . -c, --content , , , , -pot. -b, --io-size read(2) sendfile(2), . - KiB, MiB . <> ', , <> , <>. 8 memcmp 1 . ' memcmp, -, - . , . -d, --respect-dir Only try to link files with the same directory name. The top-level directory (as specified on the hardlink command line) is ignored. For example, hardlink --respect-dir /foo /bar will link /foo/some/file with /bar/some/file, but not /bar/other/file. If combined with --respect-name, then entire paths (except the top-level directory) are compared. -f, --respect-name () . , -f, hardlink. -F, --prioritize-trees Keep files found in the earliest specified top-level directory if there are multiple identical files in different trees. For example, hardlink foo/ bar/ will link files in bar/ to equal files in the foo/ directory. -i, --include _ . --exclude, , . --exclude, , . -l, --list-duplicates Don't link anything, but list the absolute path of every duplicate file, one per line, preceded by a unique 16-byte discriminator and a tab. -m, --maximize . -M, --minimize . --mount Do not traverse directories on different filesystems (remain within the same filesystem). -n, --dry-run , , . -o, --ignore-owner , ( ) . . -O, --keep-oldest ( ). , . --maximize --minimize, . -p, --ignore-mode , . . -q, --quiet - . -r, --cache-size . , memcmp, (. --io-size), . . 10 . --reflink[=] Create copy-on-write clones (aka reflinks) rather than hardlinks. The reflinked files share only on-disk data, but the file mode and owner can be different. It's recommended to use this option together with the --ignore-owner and --ignore-mode options. This option implies --skip-reflinks to ignore already cloned files. The optional argument when can be never, always, or auto. If the when argument is omitted, it defaults to auto, which means that hardlink checks the filesystem type and uses reflinks on BTRFS, XFS and ZFS only, and falls back to hardlinks when creating a reflink is impossible. The argument always disables filesystem-type detection and the fallback to hardlinks, which means that only reflinks are allowed. --skip-reflinks . --reflink . -s, --minimum-size , . 1, . : KiB (=124), MiB (=1024*1024) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', <> , <>) -S, --maximum-size , . 0, << >>. : KiB (=1024), MiB (=1024*1024) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', <> , <>). -t, --ignore-time , . , . -v, --verbose , . , ; , . -x, --exclude _ , . . --exclude-subtree - , . . -X, --respect-xattrs ' , . -y, --method Set the file content comparison method. The currently supported methods are sha256, sha1, crc32c, and memcmp. The default is sha256, or memcmp if the Linux Crypto API is not available. The methods based on checksums are implemented in a zero-copy way, which means that file contents are not copied to userspace and all calculation is done in the kernel. -z, --zero Separate lines with a NUL byte instead of a newline (for -l). -h, --help . -V, --version . hardlink , . ULFILEEQ_DEBUG=all . hardlink -f . hardlink . hardlink , , , . , . , , hardlink . , . hardlink , , , . hardlink. Jakub Jelinek Fedora. util-linux 2.34 2.36. Debian, Julian Andres Klode. hardlink util-linux, Linux . util-linux 2.42.3 2026-09-02 HARDLINK(1)