]> git.saurik.com Git - apple/hfs.git/blame - hfs_util/hfs.util.8
hfs-145.1.tar.gz
[apple/hfs.git] / hfs_util / hfs.util.8
CommitLineData
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 55The
e614c531 56.Nm
19348fcb 57command supports the mounting, probing, and unmounting of HFS file systems.
e614c531
A
58.Pp
59Options:
60.Bl -tag -width -indent "a"
61.It Fl a
19348fcb
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).
e614c531 73.It Fl k
19348fcb
A
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
e614c531 96.It Fl s
19348fcb
A
97Set the UUID key (generates a new UUID value) for the
98HFS file system at
99.Ar device
e614c531 100.It Fl u
19348fcb
A
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
e614c531
A
106.El
107.Pp
19348fcb 108The
e614c531 109.Ar mountflags
19348fcb 110referenced above are either:
e614c531
A
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
19348fcb 130.Xr diskarbitrationd 8
e614c531 131.Sh HISTORY
19348fcb 132Derived from the Openstep Workspace Manager file system utility programs.