summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorNicolas Pitre <nico@fluxnic.net>2026-04-23 00:10:38 +0300
committerJonathan Corbet <corbet@lwn.net>2026-05-03 18:12:23 +0300
commit077f0972192390191279700194b6a230a5662127 (patch)
treee143019c61ee7cab997827d76a0e7117a48ea3e7 /tools/lib/python
parent49cbd359e4a7501e9d6694c072031d9ae6b2d1a5 (diff)
downloadlinux-077f0972192390191279700194b6a230a5662127.tar.xz
Documentation: filesystems: cramfs: correct stale hard-link and endianness claims
Two paragraphs in cramfs.rst have been misleading for a long time: - "Hard links are supported, but hard linked files will still have a link count of 1": mkcramfs does not preserve hard links; it deduplicates by content (eliminate_doubles()). Two names for the same on-disk inode in the source tree become two separate (content-shared) entries in the image, and cramfs always reports a link count of 1. - "Currently, cramfs must be written and read with architectures of the same endianness ... PAGE_SIZE == 4096 ... is a bug, but it hasn't been decided what the best fix is": the endianness situation has been settled for years -- the kernel checks for CRAMFS_MAGIC_WEND in cramfs_fill_super() and refuses the mount, and mkcramfs has gained -B / -L for producing images of the opposite endianness from the build host (useful for cross-builds, but the reader still needs to match). Restate this accurately. Signed-off-by: Nicolas Pitre <nico@fluxnic.net> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260422211039.270552-1-nico@fluxnic.net>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions