xref: /dragonfly/sbin/mount_hpfs/mount_hpfs.8 (revision 25a2db75)
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 November 21, 2012
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).
61HPFS filesystems can only be mounted read only.
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/ad1s1:
81.Bd -literal -offset indent
82# mount_hpfs /dev/ad1s1 /mnt
83.Ed
84.Sh SEE ALSO
85.Xr mount 2 ,
86.Xr unmount 2 ,
87.Xr fstab 5 ,
88.Xr mount 8
89.Sh HISTORY
90The
91.Nm
92utility first appeared in
93.Fx 3.0 .
94.Sh AUTHORS
95HPFS kernel implementation,
96.Nm
97and manual were written by
98.An Semen Ustimenko Aq semenu@FreeBSD.org .
99