1.\" 2.\" Copyright (c) 1993,1994 Christopher G. Demetriou 3.\" Copyright (c) 1999 Semen Ustimenko (semenu@FreeBSD.org) 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.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgment: 16.\" This product includes software developed by Christopher G. Demetriou. 17.\" 3. The name of the author may not be used to endorse or promote products 18.\" derived from this software without specific prior written permission 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 21.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 23.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30.\" 31.\" $FreeBSD: src/sbin/mount_hpfs/mount_hpfs.8,v 1.1.2.5 2003/02/24 00:56:42 trhodes Exp $ 32.\" $DragonFly: src/sbin/mount_hpfs/mount_hpfs.8,v 1.2 2003/06/17 04:27:33 dillon Exp $ 33.\" 34.Dd May 20, 1999 35.Dt MOUNT_HPFS 8 36.Os 37.Sh NAME 38.Nm mount_hpfs 39.Nd mount an HPFS file system 40.Sh SYNOPSIS 41.Nm 42.Op Fl o Ar options 43.Op Fl u Ar uid 44.Op Fl g Ar gid 45.Op Fl m Ar mask 46.Pa special 47.Pa node 48.Sh DESCRIPTION 49The 50.Nm 51utility attaches the HPFS file system residing on the device 52.Pa special 53to the global file system namespace at the location 54indicated by 55.Pa node . 56This command is normally executed by 57.Xr mount 8 58at boot time, but can be used by any user to mount an 59HPFS file system on any directory that they own (provided, 60of course, that they have appropriate access to the device that 61contains the file system). 62.Pp 63The options are as follows: 64.Bl -tag -width Ds 65.It Fl u Ar uid 66Set the owner of the files in the file system to 67.Ar uid . 68The default owner is the owner of the directory 69on which the file system is being mounted. 70.It Fl g Ar gid 71Set the group of the files in the file system to 72.Ar gid . 73The default group is the group of the directory 74on which the file system is being mounted. 75.It Fl m Ar mask 76Specify the maximum file permissions for files 77in the file system. 78.El 79.Sh EXAMPLES 80To mount an hpfs volume located in /dev/wd1s1: 81.Bd -literal -offset indent 82# mount_hpfs /dev/wd1s1 /mnt 83.Ed 84.Sh WRITING 85There is limited writing ability and it is not well-tested. 86It is strongly recommended to mount readonly! 87.Sh SEE ALSO 88.Xr mount 2 , 89.Xr unmount 2 , 90.Xr fstab 5 , 91.Xr mount 8 92.Sh HISTORY 93The 94.Nm 95utility first appeared in 96.Fx 3.0 . 97.Sh AUTHORS 98HPFS kernel implementation, 99.Nm 100and manual were written by 101.An Semen Ustimenko Aq semenu@FreeBSD.org . 102