summaryrefslogtreecommitdiff
path: root/sbin/mount
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2023-11-10 00:26:01 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2023-11-10 00:26:01 +0000
commit2cf91fe364729ef553cc85a8e37f84fb4f0f7588 (patch)
treeec9d0149699776a29aa3dfd26183c0237a048dda /sbin/mount
parent661ea672c3f560327234dcb32df1d71954cc8977 (diff)
MNT_SOFTDEP and mount -o softdep no longer have any effect
OK kn@ jmc@
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.833
1 files changed, 8 insertions, 25 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index 6e7251c05a3..7efff2ea343 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.8,v 1.91 2023/11/09 12:47:05 kn Exp $
+.\" $OpenBSD: mount.8,v 1.92 2023/11/10 00:26:00 schwarze Exp $
.\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mount.8 8.7 (Berkeley) 3/27/94
.\"
-.Dd $Mdocdate: November 9 2023 $
+.Dd $Mdocdate: November 10 2023 $
.Dt MOUNT 8
.Os
.Sh NAME
@@ -152,10 +152,10 @@ Options can be given with (or without) a
prefix to invert their meaning.
The options listed below specify non-default values.
For example,
-.Sq nosoftdep
+.Sq nosync
is the default, so
-.Sq softdep
-can be used to mount the file system using soft dependencies.
+.Sq sync
+can be used to write regular data synchronously.
Multiple options can be specified in a comma-separated list.
The available options are as follows:
.Bl -tag -width 9n
@@ -173,12 +173,6 @@ system crash.
The most common use of this flag is to speed up
.Xr restore 8
where it can give a factor of two speed increase.
-.Pp
-The options
-.Ic async
-and
-.Ic softdep
-are mutually exclusive.
.It Cm force
The same as
.Fl f ;
@@ -220,20 +214,9 @@ mount the file system read-only (even the superuser may not write it).
.It Cm ro
An alias for rdonly.
.It Cm softdep
-(FFS only)
-Mount the file system using soft dependencies.
-Instead of metadata being written immediately, it is written in an ordered
-fashion to keep the on-disk state of the file system consistent.
-This results in significant speedups for file create/delete operations.
-This option is ignored when using the
-.Fl u
-flag and a file system is already mounted read/write.
-.Pp
-The options
-.Ic async
-and
-.Ic softdep
-are mutually exclusive.
+Mount an FFS file system using soft dependencies.
+This option is only supported for compatibility and has no effect on
+.Ox .
.It Cm sync
Regular data I/O to the file system should be done synchronously.
By default, only metadata is read/written synchronously.