summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ext2fs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2004-02-15 06:31:26 +0000
committerbde <bde@FreeBSD.org>2004-02-15 06:31:26 +0000
commite85c2c0c75b1ca6629b551b785eea2fedd82cfa7 (patch)
tree2785ddfb394b98943a49aa464d4f6e14bde078fd /sbin/mount_ext2fs
parent9af8bd8baa206664c28697f84ffeb0d10c1607a6 (diff)
downloadFreeBSD-src-e85c2c0c75b1ca6629b551b785eea2fedd82cfa7.zip
FreeBSD-src-e85c2c0c75b1ca6629b551b785eea2fedd82cfa7.tar.gz
Support mounting ext2fs file systems with -async to the small extent
that ext2fs in the kernel supports async mounts. ext2fs used to effectively force the -async flag on. -async for ext2fs only gives async (more precisely, delayed) writes for inode updates, so it is barely worth using even when it is safe.
Diffstat (limited to 'sbin/mount_ext2fs')
-rw-r--r--sbin/mount_ext2fs/mount_ext2fs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c
index 875aaee..8307802 100644
--- a/sbin/mount_ext2fs/mount_ext2fs.c
+++ b/sbin/mount_ext2fs/mount_ext2fs.c
@@ -60,6 +60,7 @@ static const char rcsid[] =
struct mntopt mopts[] = {
MOPT_STDOPTS,
+ MOPT_ASYNC,
MOPT_FORCE,
MOPT_SYNC,
MOPT_UPDATE,
OpenPOWER on IntegriCloud