1.\" $NetBSD: mount_qemufwcfg.8,v 1.2 2017/11/28 11:55:30 wiz 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 November 28, 2017 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 special 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 . 48Both 49.Ar special 50and 51.Ar node 52are converted to absolute paths before use. 53.Pp 54The options are as follows: 55.Bl -tag -width Ds 56.It Fl F Ar path 57Use 58.Ar path 59instead of 60.Pa /dev/qemufwcfg 61for the QEMU device. 62.It Fl g Ar gid 63Use 64.Ar gid 65as group for files in the file system instead of the active group id. 66.It Fl M Ar dir-mode 67Use 68.Ar dir-mode 69as permissions for directories instead of the default 70.Ar 0555 . 71.It Fl m Ar file-mode 72Use 73.Ar file-mode 74as permissions for files instead of the default 75.Ar 0444 . 76.It Fl u Ar uid 77Use 78.Ar uid 79as user for files in the file system instead of the active user id. 80.El 81.Sh SEE ALSO 82.Xr qemufwcfg 4 83.Sh HISTORY 84A 85.Nm 86command first appeared in 87.Nx 9.0 . 88.Sh AUTHORS 89.An Jared McNeill Aq Mt jmcneill@invisible.ca 90