From nobody Sat Mar 16 21:12:05 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Txv2F6SQnz5DZ0V for ; Sat, 16 Mar 2024 21:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Txv2F3Tglz3x0G for ; Sat, 16 Mar 2024 21:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710623525; a=rsa-sha256; cv=none; b=mCNDWgwqsBy8YTOQAkrf0E/nnorLEd95C/XzvR0XXBZOK2SUsIIaIiLW66pLCh9EgHskyM T3qVEBYLdDxqSh4Fr5kQ8u4uOhHpnd5xJ24EHKC9UCZxd7zGBWQRzm0GtXepKpVOz5Jjg9 haiKgwui4mNQLIF40Xt73RFkpd6KmczFtE3caJjZe04SV02Q5EoVxIDRQkzjsTeyKaLxUZ XcJeP3kIZSAbhwcEpL+51t6D7jt7ePDghQqZayymZCEArcdItMhmZt3WF7VVzutGzcJFDW GLuxjG0S10X4F3BE3K9oesUfdVhfatvL3lzJ5p0OJ7l2ZuSRsjD3m5BKSutzuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710623525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1XNntVKVNoTc7geTpYthG2+K6jiFAfRKTB8cpRfPW7U=; b=Gv0E3SloL2Ix4v687AbQWTGi1XSQ/PFLbsnDmeOC+p0Wc9NfJ3RCE4+Ir/GDo1Zwh11sjB N2PamdvxyeDtbU1R5Kw/+761kh5pCsrqaB3pM8A7uhPHpi2x5GaZ7xnSxbVtNIkVJsTfIK seQ6mu/9DvD2mUyXQZ3zYAsB1WXgQwXkMMeCF22NFKXOFAe/2Y/GRFuMbAuGqlGb91O3EC koFj4SHpTT7SFuZhQxGMPaYgd7pNH78RDdN+Vr0WBIZ47q4zn+trCKWcHdqLDcDi3rDqp8 YsXHLQO7JCuREnM4AtEAIv07Iq/TLvWa90XzdjZ5Un3/dcGfb9MP8ZkDb2GLVA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Txv2F35Y1z1940 for ; Sat, 16 Mar 2024 21:12:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 42GLC5uk008445 for ; Sat, 16 Mar 2024 21:12:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42GLC5j7008443 for bugs@FreeBSD.org; Sat, 16 Mar 2024 21:12:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 277740] makefs -t msdos silently ignores hard links Date: Sat, 16 Mar 2024 21:12:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 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.=