From nobody Thu Oct 19 17:25:37 2023 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 4SBF3j4SYFz4xgLK for ; Thu, 19 Oct 2023 17:25:37 +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 4SBF3j21WPz3P5Z for ; Thu, 19 Oct 2023 17:25:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697736337; a=rsa-sha256; cv=none; b=TW1UHPpKSerXbW4GOqiCkVCLwTiobqkcGo21JKkrluxrnh5Tth4w7xxgaQDAahNxNLXhTO zr5g8bYv+eFRdVzvVpVzYeHaxRGj8Ue2kVKSpNT5gW0SUTkKo7BHF4WF+5uEOEvk3cAFuY cIvSJmSwq1PTHV0em8gzPX2jO6Kx1HG4WP5ONAX1CU2Wj+kvieRA6bFEKD80M07IilVuIc 4uMSX+p9M5BMoTmruchN9FkLg/LJgGnI0WkMs+ib8FkWorcL5Pw4fJaDwkc5FkZ93pBU3K 1yBhotET5p5hYyiSXaBYNaIraW6+XVwMdwC9z1yBHkLoW856Z8cG/r6sv7a9zg== 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=1697736337; 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=h62rH5eZDo4bZ5w6lBxA8YewXvciDNNJkspxqpji9ME=; b=kBcwWYeUuZ9Ye0dIjDS6Zr3RscYHuji2kOUb2q4okavuxe3jia1cEN6PFFpfsSd/gJfFbb 0CV1SU8hZ96h1H2pgB5ddb59Ox0+RKObaz0HVP10uepxPxuuGBPMJ2f/0ix21BNWHSm39I 7+f6ZvlPs13S5WxShPiSYeJMBXq4+fc/G0EqTcitHXrbQrFxAafpnaJqnvYDVl5JKzYcax gagPcac1Uhsho6LzK0pdK29qab72t7kk2GSVo1x1cHpiyckil+Zp8rFvNbiGqIynuiQfqL z3xwFPi+X7Suq/ND/RLJYTsLTBKI1pz5bVp6U4LdEUuTDRKAa1LQlKvI7RXnjQ== 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 4SBF3j14qPzyh7 for ; Thu, 19 Oct 2023 17:25:37 +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 39JHPbEw007493 for ; Thu, 19 Oct 2023 17:25:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39JHPbhY007492 for bugs@FreeBSD.org; Thu, 19 Oct 2023 17:25:37 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 274600] /sbin/mount with invalid special device name gives confusing "Invalid fstype: Invalid argument" error Date: Thu, 19 Oct 2023 17:25:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin@lispworks.com 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=3D274600 Bug ID: 274600 Summary: /sbin/mount with invalid special device name gives confusing "Invalid fstype: Invalid argument" error Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: martin@lispworks.com This error message is confusing because the fstype is not the problem: root@fb15:~ # uname -a FreeBSD fb15 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n265728-8818f0f1124e: Thu Oct 5 03:15:28 UTC 2023=20=20=20=20 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@fb15:~ # mount /dev/foobar /mnt mount: /dev/foobar: Invalid fstype: Invalid argument root@fb15:~ #=20 In FreeBSD 12.4, it gave the correct error: mount: /dev/foobar: No such file or directory It looks like commit 6e8272f317b899438165108a72fa04a4995611bd might be to b= lame for this. --=20 You are receiving this mail because: You are the assignee for the bug.=