xref: /netbsd-src/sbin/mount_qemufwcfg/mount_qemufwcfg.8 (revision d609938dfaf5323663cc6a028bb3811017618b71)
1.\"	$NetBSD: mount_qemufwcfg.8,v 1.3 2020/04/29 09:54:43 gson Exp $
2.\"
3.\" Copyright (c) 2017 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\" POSSIBILITY OF SUCH DAMAGE.
26.\"
27.Dd April 29, 2020
28.Dt MOUNT_QEMUFWCFG 8
29.Os
30.Sh NAME
31.Nm mount_qemufwcfg
32.Nd provide QEMU fw_cfg data as a file system
33.Sh SYNOPSIS
34.Nm
35.Op Fl F Ar path
36.Op Fl g Ar gid
37.Op Fl M Ar dir-mode
38.Op Fl m Ar file-mode
39.Op Fl u Ar uid
40.Op Ar fuse-options
41.Ar node
42.Sh DESCRIPTION
43The
44.Nm
45command provides the QEMU fw_cfg configuration files in a file system
46tree at point
47.Ar node .
48The directory specified by
49.Ar node
50is converted to an absolute path before use.
51.Pp
52The options are as follows:
53.Bl -tag -width Ds
54.It Fl F Ar path
55Use
56.Ar path
57instead of
58.Pa /dev/qemufwcfg
59for the QEMU device.
60.It Fl g Ar gid
61Use
62.Ar gid
63as group for files in the file system instead of the active group id.
64.It Fl M Ar dir-mode
65Use
66.Ar dir-mode
67as permissions for directories instead of the default
68.Ar 0555 .
69.It Fl m Ar file-mode
70Use
71.Ar file-mode
72as permissions for files instead of the default
73.Ar 0444 .
74.It Fl u Ar uid
75Use
76.Ar uid
77as user for files in the file system instead of the active user id.
78.El
79.Sh SEE ALSO
80.Xr qemufwcfg 4
81.Sh HISTORY
82A
83.Nm
84command first appeared in
85.Nx 9.0 .
86.Sh AUTHORS
87.An Jared McNeill Aq Mt jmcneill@invisible.ca
88