]> git.saurik.com Git - apple/hfs.git/blame_incremental - hfs_util/hfs.util.8
hfs-145.1.tar.gz
[apple/hfs.git] / hfs_util / hfs.util.8
... / ...
CommitLineData
1.\""Copyright (c) 2001 Apple Computer, Inc. All Rights Reserved.
2.\"The contents of this file constitute Original Code as defined in and are
3.\"subject to the Apple Public Source License Version 1.2 (the 'License').
4.\"You may not use this file except in compliance with the
5.\"License. Please obtain a copy of the License at
6.\"http://www.apple.com/publicsource and read it before using this file.
7.\"
8.\"This Original Code and all software distributed under the License are
9.\"distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
10.\"EXPRESS OR IMPLIED, AND APPLE
11.\"HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY
12.\"WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
13.\"QUIET ENJOYMENT OR NON-INFRINGEMENT. Please see the License for the
14.\"specific language governing rights and limitations under the License."
15.Dd July 16, 2003
16.Dt HFS.UTIL 8
17.Os Darwin
18.Sh NAME
19.Nm hfs.util
20.Nd HFS/HFS+ file system utility
21.Sh SYNOPSIS
22.Nm
23.Fl m
24.Ar device mountpoint
25.Op Ar mountflag1
26.Op Ar mountflag2
27.Op Ar mountflag3
28.Op Ar mountflag4
29.Pp
30.Nm
31.Fl p
32.Ar device
33.Op Ar mountflag1
34.Op Ar mountflag2
35.Op Ar mountflag3
36.Op Ar mountflag4
37.Pp
38.Nm
39.Fl J
40.Op Ar size
41.Ar mountpoint
42.Pp
43.Nm
44.Fl U
45.Ar mountpoint
46.Pp
47.Nm
48.Fl I
49.Ar mountpoint
50.Pp
51.Nm
52.Op Fl aksu
53.Ar device
54.Sh DESCRIPTION
55The
56.Nm
57command supports the mounting, probing, and unmounting of HFS file systems.
58.Pp
59Options:
60.Bl -tag -width -indent "a"
61.It Fl a
62Adopt permissions for the HFS file system at
63.Ar device
64.It Fl I
65Print out status information about the journal on the HFS
66file system at
67.Ar mountpoint
68.It Fl J Op Ar size
69Enable journaling on the HFS file system mounted on
70.Ar mountpoint .
71An optional size may
72be specified (e.g. 32M for a 32 megabyte journal).
73.It Fl k
74Get the UUID key for the HFS file system at
75.Ar device
76.It Fl m
77Mount the HFS file system located on
78.Ar device
79onto
80.Ar mountpoint
81with the flags
82.Ar mountflag1 mountflag2 mountflag3 mountflag4
83.It Fl M
84Force mount the HFS file system located on
85.Ar device
86onto
87.Ar mountpoint
88with the flags
89.Ar mountflag1 mountflag2 mountflag3 mountflag4 .
90This is a deprecated option.
91.It Fl p
92Probe the
93.Ar device
94for an HFS file system using the flags
95.Ar mountflag1 mountflag2 mountflag3 mountflag4
96.It Fl s
97Set the UUID key (generates a new UUID value) for the
98HFS file system at
99.Ar device
100.It Fl u
101Unmount the HFS file system located at
102.Ar device
103.It Fl U
104Disable journaling on the HFS file system mounted on
105.Ar mountpoint
106.El
107.Pp
108The
109.Ar mountflags
110referenced above are either:
111.Bl -bullet -indent
112.It
113.Ar removable
114or
115.Ar fixed
116.It
117.Ar readonly
118or
119.Ar writeable
120.It
121.Ar suid
122or
123.Ar nosuid
124.It
125.Ar dev
126or
127.Ar nodev
128.El
129.Sh SEE ALSO
130.Xr diskarbitrationd 8
131.Sh HISTORY
132Derived from the Openstep Workspace Manager file system utility programs.