]> git.saurik.com Git - apple/hfs.git/blame - hfs_util/hfs.util.8
hfs-556.100.11.tar.gz
[apple/hfs.git] / hfs_util / hfs.util.8
CommitLineData
ab40a2da 1.\""Copyright (c) 2001-2008 Apple Inc. All Rights Reserved.
e614c531
A
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."
19348fcb 15.Dd July 16, 2003
e614c531
A
16.Dt HFS.UTIL 8
17.Os Darwin
18.Sh NAME
19.Nm hfs.util
19348fcb 20.Nd HFS/HFS+ file system utility
e614c531
A
21.Sh SYNOPSIS
22.Nm
19348fcb
A
23.Fl m
24.Ar device mountpoint
25.Op Ar mountflag1
26.Op Ar mountflag2
27.Op Ar mountflag3
28.Op Ar mountflag4
e614c531
A
29.Pp
30.Nm
19348fcb 31.Fl p
e614c531 32.Ar device
19348fcb
A
33.Op Ar mountflag1
34.Op Ar mountflag2
35.Op Ar mountflag3
36.Op Ar mountflag4
e614c531
A
37.Pp
38.Nm
19348fcb
A
39.Fl J
40.Op Ar size
41.Ar mountpoint
42.Pp
43.Nm
44.Fl U
45.Ar mountpoint
46.Pp
47.Nm
ab40a2da
A
48.Fl N
49.Ar device
50.Pp
51.Nm
19348fcb
A
52.Fl I
53.Ar mountpoint
54.Pp
55.Nm
56.Op Fl aksu
e614c531
A
57.Ar device
58.Sh DESCRIPTION
19348fcb 59The
e614c531 60.Nm
19348fcb 61command supports the mounting, probing, and unmounting of HFS file systems.
e614c531
A
62.Pp
63Options:
16f263f5 64.Bl -tag -compact -offset indent
e614c531 65.It Fl a
19348fcb
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).
e614c531 77.It Fl k
19348fcb 78Get the UUID key for the HFS file system at
246784f7 79.Ar device .
19348fcb
A
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.
ab40a2da
A
95.It Fl N
96Disable journaling on a HFS+ file system located at
97.Ar device
19348fcb
A
98.It Fl p
99Probe the
100.Ar device
101for an HFS file system using the flags
102.Ar mountflag1 mountflag2 mountflag3 mountflag4
e614c531 103.It Fl s
19348fcb
A
104Set the UUID key (generates a new UUID value) for the
105HFS file system at
106.Ar device
e614c531 107.It Fl u
19348fcb
A
108Unmount the HFS file system located at
109.Ar device
110.It Fl U
ab40a2da 111Disable journaling on the HFS+ file system mounted on
19348fcb 112.Ar mountpoint
e614c531
A
113.El
114.Pp
19348fcb 115The
e614c531 116.Ar mountflags
19348fcb 117referenced above are either:
16f263f5 118.Bl -bullet -compact -offset indent
e614c531
A
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
246784f7
A
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.
e614c531 141.Sh SEE ALSO
19348fcb 142.Xr diskarbitrationd 8
e614c531 143.Sh HISTORY
19348fcb 144Derived from the Openstep Workspace Manager file system utility programs.