]> git.saurik.com Git - apple/hfs.git/blame_incremental - hfs_util/hfs.util.8
hfs-556.100.11.tar.gz
[apple/hfs.git] / hfs_util / hfs.util.8
... / ...
CommitLineData
1.\""Copyright (c) 2001-2008 Apple 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 N
49.Ar device
50.Pp
51.Nm
52.Fl I
53.Ar mountpoint
54.Pp
55.Nm
56.Op Fl aksu
57.Ar device
58.Sh DESCRIPTION
59The
60.Nm
61command supports the mounting, probing, and unmounting of HFS file systems.
62.Pp
63Options:
64.Bl -tag -compact -offset indent
65.It Fl a
66Adopt permissions for the HFS file system at
67.Ar device
68.It Fl I
69Print out status information about the journal on the HFS
70file system at
71.Ar mountpoint
72.It Fl J Op Ar size
73Enable journaling on the HFS file system mounted on
74.Ar mountpoint .
75An optional size may
76be specified (e.g. 32M for a 32 megabyte journal).
77.It Fl k
78Get the UUID key for the HFS file system at
79.Ar device .
80.It Fl m
81Mount the HFS file system located on
82.Ar device
83onto
84.Ar mountpoint
85with the flags
86.Ar mountflag1 mountflag2 mountflag3 mountflag4
87.It Fl M
88Force mount the HFS file system located on
89.Ar device
90onto
91.Ar mountpoint
92with the flags
93.Ar mountflag1 mountflag2 mountflag3 mountflag4 .
94This is a deprecated option.
95.It Fl N
96Disable journaling on a HFS+ file system located at
97.Ar device
98.It Fl p
99Probe the
100.Ar device
101for an HFS file system using the flags
102.Ar mountflag1 mountflag2 mountflag3 mountflag4
103.It Fl s
104Set the UUID key (generates a new UUID value) for the
105HFS file system at
106.Ar device
107.It Fl u
108Unmount the HFS file system located at
109.Ar device
110.It Fl U
111Disable journaling on the HFS+ file system mounted on
112.Ar mountpoint
113.El
114.Pp
115The
116.Ar mountflags
117referenced above are either:
118.Bl -bullet -compact -offset indent
119.It
120.Ar removable
121or
122.Ar fixed
123.It
124.Ar readonly
125or
126.Ar writeable
127.It
128.Ar suid
129or
130.Ar nosuid
131.It
132.Ar dev
133or
134.Ar nodev
135.El
136.Pp
137Note that for the
138.Ar device
139references above, you must only supply the last component of the path to the
140device in question, such as disk0s2 rather than /dev/disk0s2.
141.Sh SEE ALSO
142.Xr diskarbitrationd 8
143.Sh HISTORY
144Derived from the Openstep Workspace Manager file system utility programs.