xref: /netbsd-src/sbin/mount_qemufwcfg/mount_qemufwcfg.8 (revision d609938dfaf5323663cc6a028bb3811017618b71)
1*d609938dSgson.\"	$NetBSD: mount_qemufwcfg.8,v 1.3 2020/04/29 09:54:43 gson Exp $
244464768Swiz.\"
344464768Swiz.\" Copyright (c) 2017 The NetBSD Foundation, Inc.
444464768Swiz.\" All rights reserved.
544464768Swiz.\"
644464768Swiz.\" Redistribution and use in source and binary forms, with or without
744464768Swiz.\" modification, are permitted provided that the following conditions
844464768Swiz.\" are met:
944464768Swiz.\" 1. Redistributions of source code must retain the above copyright
1044464768Swiz.\"    notice, this list of conditions and the following disclaimer.
1144464768Swiz.\" 2. Redistributions in binary form must reproduce the above copyright
1244464768Swiz.\"    notice, this list of conditions and the following disclaimer in the
1344464768Swiz.\"    documentation and/or other materials provided with the distribution.
1444464768Swiz.\"
1544464768Swiz.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
1644464768Swiz.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1744464768Swiz.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1844464768Swiz.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
1944464768Swiz.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2044464768Swiz.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2144464768Swiz.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2244464768Swiz.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2344464768Swiz.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2444464768Swiz.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2544464768Swiz.\" POSSIBILITY OF SUCH DAMAGE.
2644464768Swiz.\"
27*d609938dSgson.Dd April 29, 2020
2844464768Swiz.Dt MOUNT_QEMUFWCFG 8
2944464768Swiz.Os
3044464768Swiz.Sh NAME
3144464768Swiz.Nm mount_qemufwcfg
3244464768Swiz.Nd provide QEMU fw_cfg data as a file system
3344464768Swiz.Sh SYNOPSIS
3444464768Swiz.Nm
3544464768Swiz.Op Fl F Ar path
3644464768Swiz.Op Fl g Ar gid
3744464768Swiz.Op Fl M Ar dir-mode
3844464768Swiz.Op Fl m Ar file-mode
3944464768Swiz.Op Fl u Ar uid
4044464768Swiz.Op Ar fuse-options
41*d609938dSgson.Ar node
4244464768Swiz.Sh DESCRIPTION
4344464768SwizThe
4444464768Swiz.Nm
4589fac405Swizcommand provides the QEMU fw_cfg configuration files in a file system
4644464768Swiztree at point
4744464768Swiz.Ar node .
48*d609938dSgsonThe directory specified by
4944464768Swiz.Ar node
50*d609938dSgsonis converted to an absolute path before use.
5144464768Swiz.Pp
5244464768SwizThe options are as follows:
5344464768Swiz.Bl -tag -width Ds
5444464768Swiz.It Fl F Ar path
5544464768SwizUse
5644464768Swiz.Ar path
5744464768Swizinstead of
5844464768Swiz.Pa /dev/qemufwcfg
5944464768Swizfor the QEMU device.
6044464768Swiz.It Fl g Ar gid
6144464768SwizUse
6244464768Swiz.Ar gid
6344464768Swizas group for files in the file system instead of the active group id.
6444464768Swiz.It Fl M Ar dir-mode
6544464768SwizUse
6644464768Swiz.Ar dir-mode
6744464768Swizas permissions for directories instead of the default
6844464768Swiz.Ar 0555 .
6944464768Swiz.It Fl m Ar file-mode
7044464768SwizUse
7144464768Swiz.Ar file-mode
7244464768Swizas permissions for files instead of the default
7344464768Swiz.Ar 0444 .
7444464768Swiz.It Fl u Ar uid
7544464768SwizUse
7644464768Swiz.Ar uid
7744464768Swizas user for files in the file system instead of the active user id.
7844464768Swiz.El
7944464768Swiz.Sh SEE ALSO
8044464768Swiz.Xr qemufwcfg 4
8144464768Swiz.Sh HISTORY
8244464768SwizA
8344464768Swiz.Nm
8444464768Swizcommand first appeared in
8544464768Swiz.Nx 9.0 .
8644464768Swiz.Sh AUTHORS
8744464768Swiz.An Jared McNeill Aq Mt jmcneill@invisible.ca
88