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