From nobody Fri Feb 23 16:41:44 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 4ThG4S5FQyz5B4YJ for ; Fri, 23 Feb 2024 16:41:44 +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 4ThG4S02h7z4Y27 for ; Fri, 23 Feb 2024 16:41:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708706504; a=rsa-sha256; cv=none; b=T1CQb+DgPxqTk6llmft3pD6qdPUR30i0MDW0Wl/2wg9eR8O6jwyK10IPWQ0V54aydkKxdv ikPkdSD6RDgQFarIcQVvbxtjub8hITjZkBjkFXknKfBuhOGbnOq+cHPMeFnxxRxzJSO0Xh 6llUfP2uR/uileuelGJvSCSyqiH5VWs10EGy+LTF3Zxw93HrgFkQBkX0gEwKX0rQOSs8eh gjSz9jOgs4iafWpBBhEHXtJAOYsPLmYGAi8aUWV0sZiJHJSCWSJJ2lCtU9jCQa3ndGr9J5 fqAvPrKpG1AA5BBDxiSR26yFLMC7+Ke+6rwzzIJLMBRbGdFGkH6QjUuD+Jyltg== 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=1708706504; 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=0mvdb4O6+hpFopViYAD8nw2jRwtspklHA7U9PyhnNPU=; b=FmT+u6XmCjfhQn47YSa0it7cb2MFjMSgJO6l5mDWWqJLJjwnvqQZCJvf/GcU0jfz7CMciW qCwGZzmmaA5DOSEjkn7mxBk5vWODWVaKgYBny8h42pL8DCvHtWhd/Val1FUn6oyaMvScAy qoJM+4/ietD3HgZ0peIqISt+3vyTutBYeQWxMJOUmR9gFKeCY8TYY+ij/rMXlRogdX8OGA qooaJGCQtFLEL3ZZulPA8UJKUvqykDEwyzeYejOAucRPkDlPvrKRTalxfdOW4uwlOPyN18 pd7HRSGdsL6QbeaE8wOO0Xz21skl8mRxSNC6+SY/W3ITITtIAQ084Vdw2C6usA== 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 4ThG4R6CzNzNmw for ; Fri, 23 Feb 2024 16:41:43 +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 41NGfhqT080948 for ; Fri, 23 Feb 2024 16:41:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41NGfhLh080944 for bugs@FreeBSD.org; Fri, 23 Feb 2024 16:41:43 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 277264] mount(8)ing incorrect device gives confusing ENOENT Date: Fri, 23 Feb 2024 16:41:44 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lexi.freebsd@le-fay.org 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=3D277264 Bug ID: 277264 Summary: mount(8)ing incorrect device gives confusing ENOENT Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: lexi.freebsd@le-fay.org # mdconfig -l md0 # gpart show md0 =3D> 63 10485697 md0 MBR (5.0G) 63 1985 - free - (993K) 2048 102400 1 fat32lba [active] (50M) 104448 10381312 2 freebsd (5.0G) # ls -l /dev/md0s2 crw-r----- 1 root operator 0x211 Feb 23 16:33 /dev/md0s2 # mount -t ufs -rw /dev/md0s2 /mnt mount: /dev/md0s2: No such file or directory this was my error, because the correct device is /dev/md0s2a, not /dev/md0s= 2.=20 however, ENOENT seems like the wrong error here, because the device listed = in the error clearly does exist, it just doesn't contain a UFS filesystem.=20= =20 using 15.0-CURRENT 58df49801d9d58e61cc2adc8fd1e6848b64d2453 on amd64. --=20 You are receiving this mail because: You are the assignee for the bug.=