]>
Commit | Line | Data |
---|---|---|
e614c531 A |
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." | |
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 | |
48 | .Fl I | |
49 | .Ar mountpoint | |
50 | .Pp | |
51 | .Nm | |
52 | .Op Fl aksu | |
e614c531 A |
53 | .Ar device |
54 | .Sh DESCRIPTION | |
19348fcb | 55 | The |
e614c531 | 56 | .Nm |
19348fcb | 57 | command supports the mounting, probing, and unmounting of HFS file systems. |
e614c531 A |
58 | .Pp |
59 | Options: | |
60 | .Bl -tag -width -indent "a" | |
61 | .It Fl a | |
19348fcb 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). | |
e614c531 | 73 | .It Fl k |
19348fcb A |
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 | |
e614c531 | 96 | .It Fl s |
19348fcb A |
97 | Set the UUID key (generates a new UUID value) for the |
98 | HFS file system at | |
99 | .Ar device | |
e614c531 | 100 | .It Fl u |
19348fcb A |
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 | |
e614c531 A |
106 | .El |
107 | .Pp | |
19348fcb | 108 | The |
e614c531 | 109 | .Ar mountflags |
19348fcb | 110 | referenced above are either: |
e614c531 A |
111 | .Bl -bullet -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 | |
19348fcb | 130 | .Xr diskarbitrationd 8 |
e614c531 | 131 | .Sh HISTORY |
19348fcb | 132 | Derived from the Openstep Workspace Manager file system utility programs. |