From nobody Tue Mar 19 08:56:17 2024 X-Original-To: fs@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 4TzQYs3MqYz5Dssf for ; Tue, 19 Mar 2024 08:56:17 +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 4TzQYs1Q4Tz4VP3 for ; Tue, 19 Mar 2024 08:56:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710838577; a=rsa-sha256; cv=none; b=EkogLaHStLuGlX/Wa9RlcOZ1yzH7yEUb0ZjjqBlYJiVznsviwDq5dpTCqI8mAzgAKJgvbv G3bopoWVQx4fmwAwsw3jPs3a6Up9FMD/YR4/wirj2K4WNs4BLlQgLPZnZMrw/nd5GvQ47D oHGyh0862q1ZsAmk8uBGhQAPRx3TU9X7jQ5WxmW5wlWUnZQf4RevOV5HF0ZTpZL8iwfgHo bxhgmrmWbDDXF7OxqVOMsOhrhVBhczP7BfOyBgzJF1l5/w6HsRpK+i8DF4af9MEWkLz2Iu Al6+SOi7wAobHQV2NgGkLKvnZf88LyzwSlCVjbmN4LW630T63cjgM1gjK5nrdw== 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=1710838577; 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: in-reply-to:in-reply-to:references:references; bh=zSSH+KAxR/RpBFKZU4HSIO/tepS40SVkE+h/mZbCbYQ=; b=A8QgXjfdsBp69Li5InwgGHhdp/ObtjsUZs7f5ahHeKuJykZZuKkYYW4Mhnzsp4v7d1wREh SrC38Unb+aToV2ZK90S8cyJYSDInrH5FJfH72HJeYzdJtjWjnnMfs0xkuS0YXfXcluGxb6 zOhw6MKWtydV9xSPc8xukoxCQ91QrF+0ypS8uhf89rfuce15PUuh/XKSj4lti/fst01QH4 oEzeziPg3iDwRH+9/iW7hxeATG9VlR1PWRlgIm1SfsTR0ZhcTQE1gAStd2YZucbJIuN9w9 QHxMkwjoY5khhLNHBXttUATfqGFdzJT4TyJkBMOfkZzduqHCWxtSLuHLrPZIRQ== 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 4TzQYs0wXLz11M9 for ; Tue, 19 Mar 2024 08:56:17 +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 42J8uHfj097110 for ; Tue, 19 Mar 2024 08:56:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42J8uHSm097107 for fs@FreeBSD.org; Tue, 19 Mar 2024 08:56:17 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: fs@FreeBSD.org Subject: [Bug 277804] stat(2) on UFS volumes reports wrong st_dev (devid) when run through Linux compat layer Date: Tue, 19 Mar 2024 08:56:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michaelo@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277804 --- Comment #2 from Michael Osipov --- A simple 15-CURRENT vm: > root@deblndw013x5v:/usr # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/vtbd0p2 1.9G 1.5G 290M 84% / > devfs 1.0K 0B 1.0K 0% /dev > /dev/vtbd0p1 260M 1.3M 259M 1% /boot/efi > /dev/vtbd0p4 3.9G 33M 3.5G 1% /tmp > /dev/vtbd0p5 3.9G 171M 3.4G 5% /var > /dev/vtbd0p6 7.7G 64M 7.0G 1% /var/tmp > linprocfs 8.0K 0B 8.0K 0% /compat/linux/proc > linsysfs 8.0K 0B 8.0K 0% /compat/linux/sys > devfs 1.0K 0B 1.0K 0% /compat/linux/dev > fdescfs 1.0K 0B 1.0K 0% /compat/linux/dev/fd > tmpfs 11G 4.0K 11G 0% /compat/linux/dev/shm Linux executable: root@deblndw013x5v:/tmp # df -t ufs | cut -f 6 -w | sed 1d | xargs -I% ./stat-linux % /:52, major: 0, minor: 52 /tmp:54, major: 0, minor: 54 /var:52, major: 0, minor: 52 /var/tmp:56, major: 0, minor: 56 FreeBSD executable: > root@deblndw013x5v:/tmp # df -t ufs | cut -f 6 -w | sed 1d | xargs -I% .= /stat-freebsd % > /:52, major: 0, minor: 52 > /tmp:54, major: 0, minor: 54 > /var:55, major: 0, minor: 55 > /var/tmp:56, major: 0, minor: 56 --=20 You are receiving this mail because: You are the assignee for the bug.=