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.\" 33.Dd May 20, 1999 34.Dt MOUNT_HPFS 8 35.Os 36.Sh NAME 37.Nm mount_hpfs 38.Nd mount an HPFS file system 39.Sh SYNOPSIS 40.Nm 41.Op Fl o Ar options 42.Op Fl u Ar uid 43.Op Fl g Ar gid 44.Op Fl m Ar mask 45.Pa special 46.Pa node 47.Sh DESCRIPTION 48The 49.Nm 50utility attaches the HPFS file system residing on the device 51.Pa special 52to the global file system namespace at the location 53indicated by 54.Pa node . 55This command is normally executed by 56.Xr mount 8 57at boot time, but can be used by any user to mount an 58HPFS file system on any directory that they own (provided, 59of course, that they have appropriate access to the device that 60contains the file system). 61.Pp 62The options are as follows: 63.Bl -tag -width Ds 64.It Fl u Ar uid 65Set the owner of the files in the file system to 66.Ar uid . 67The default owner is the owner of the directory 68on which the file system is being mounted. 69.It Fl g Ar gid 70Set the group of the files in the file system to 71.Ar gid . 72The default group is the group of the directory 73on which the file system is being mounted. 74.It Fl m Ar mask 75Specify the maximum file permissions for files 76in the file system. 77.El 78.Sh EXAMPLES 79To mount an hpfs volume located in /dev/wd1s1: 80.Bd -literal -offset indent 81# mount_hpfs /dev/wd1s1 /mnt 82.Ed 83.Sh WRITING 84There is limited writing ability and it is not well-tested. 85It is strongly recommended to mount readonly! 86.Sh SEE ALSO 87.Xr mount 2 , 88.Xr unmount 2 , 89.Xr fstab 5 , 90.Xr mount 8 91.Sh HISTORY 92The 93.Nm 94utility first appeared in 95.Fx 3.0 . 96.Sh AUTHORS 97HPFS kernel implementation, 98.Nm 99and manual were written by 100.An Semen Ustimenko Aq semenu@FreeBSD.org . 101