Date: Sat, 16 Mar 2024 21:12:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277740] makefs -t msdos silently ignores hard links Message-ID: <bug-277740-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277740 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: bugs@FreeBSD.org Reporter: jfc@mit.edu When makefs creates an MSDOS filesystem it only uses one of the pathnames o= f 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=3D512 SecPerClust=3D8 ResSectors=3D1 FATs=3D2 RootDirEnts=3D512= Media=3D0xf0 FATsecs=3D32 SecPerTrack=3D63 Heads=3D255 HiddenSecs=3D0 HugeSectors=3D65536 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277740-227>