NAME
mount_hammer2
—
mount a HAMMER2 file system
SYNOPSIS
mount_hammer2 |
[-o options]
special[@ label]
node |
mount_hammer2 |
[-o options]
@ label
node |
mount_hammer2 |
-u [-o
options] node |
DESCRIPTION
Themount_hammer2
utility mounts a
HAMMER2
file system backed by
special file at mount point node.
PFS label is mounted.
@
label (no
special) is a short form, which mounts
label from an already mounted
HAMMER2
filesystem. If there are multiple mounts
with the same label, the first one mounted takes
precedence over others.
Default value for label is based on
partition of special:
‘a
’ defaults to "BOOT" ,
‘d
’ defaults to "ROOT", and
any other partition defaults to "DATA".
The options are as follows:
-o
options- Options are specified with a
-o
flag followed by a comma separated string of options. See the mount(8) man page for possible options and their meanings. The followingHAMMER2
specific options are also available:local
- Disable PFS clustering.
-u
- Update the mount point. This is used to upgrade a mount to read-write.
EXIT STATUS
The mount_hammer2
utility exits 0
on success, and >0 if an error occurs.
EXAMPLES
Mount a HAMMER2
file system on
/mnt, PFS "ROOT" is mounted:
mount_hammer2 /dev/da0s1d /mnt
A corresponding fstab(5) entry is:
/dev/da0s1d /mnt hammer2
Mount PFS "TEST" from same filesystem:
mount_hammer2 @TEST /mnt2
SEE ALSO
mount(2), unmount(2), fstab(5), disklabel32(8), disklabel64(8), fdisk(8), gpt(8), hammer2(8), mount(8), newfs_hammer2(8)
HISTORY
The mount_hammer2
utility first appeared
in DragonFly 3.3.
AUTHORS
This manual page was written by Thomas Nikolajsen.