https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277740
Bug ID: 277740 Summary: makefs -t msdos silently ignores hard links Product: Base System Version: 14.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: j...@mit.edu When makefs creates an MSDOS filesystem it only uses one of the pathnames of a hard linked file. The other names are silently ignored. It should emit a warning or make multiple copies of the linked file. # ls -Ali /tmp/tree total 8 1646873 -rw-r--r-- 2 root wheel 5 Mar 16 17:04 a 1646873 -rw-r--r-- 2 root wheel 5 Mar 16 17:04 b # makefs -t msdos -s 32m /tmp/tree-fs /tmp/tree Creating `/tmp/tree-fs' /tmp/tree-fs: 65432 sectors in 8179 FAT16 clusters (4096 bytes/cluster) BytesPerSec=512 SecPerClust=8 ResSectors=1 FATs=2 RootDirEnts=512 Media=0xf0 FATsecs=32 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=65536 Populating `/tmp/tree-fs' Image `/tmp/tree-fs' complete # mdconfig -o ro /tmp/tree-fs md2 # mount -t msdos -o ro /dev/md2 /mnt # ls -Al /mnt total 4 -rwxr-xr-x 1 root wheel 5 Mar 16 13:04 a -- You are receiving this mail because: You are the assignee for the bug.