NetBSD Problem Report #58638

From www@netbsd.org  Sun Aug 25 13:33:24 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 425B81A923F
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 25 Aug 2024 13:33:24 +0000 (UTC)
Message-Id: <20240825133323.07A961A9241@mollari.NetBSD.org>
Date: Sun, 25 Aug 2024 13:33:22 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: mount_qemufwcfg(8): usage is confusing
X-Send-Pr-Version: www-1.0

>Number:         58638
>Category:       bin
>Synopsis:       mount_qemufwcfg(8): usage is confusing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 25 13:35:00 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9
>Organization:
The NetQemuFW Configuration
>Environment:
>Description:
The usage for mount_qemufwcfg(8), for access to the Qemu firmware configuration (https://www.qemu.org/docs/master/specs/fw_cfg.html), is apparently:

# mount_qemufwcfg /mnt

This disagrees with the man page, whose synopsis reads:

SYNOPSIS
     mount_qemufwcfg [-F path] [-g gid] [-M dir-mode] [-m file-mode] [-u uid]
                     [fuse-options] special node

This is also incompatible with the mount(8) command.

At the very least, the man page should correctly show how to use it.

Ideally, `mount -t qemufwcfg qemufwcfg /mnt' would work too, and you could put this into fstab(5).
>How-To-Repeat:
try to use mount_qemufwcfg(8) by rtfm
>Fix:
Yes, please!

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.