summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-12-11 04:31:08 +0000
committerkris <kris@FreeBSD.org>2005-12-11 04:31:08 +0000
commite5c33c3685ea7b46e582fd3402e965727b76d967 (patch)
treef162825abdeba84f22e5267d0be032294df068e4 /Tools
parentbc1b1f24916ef3a36c61ea09549ce3fefdd28b9c (diff)
downloadFreeBSD-ports-e5c33c3685ea7b46e582fd3402e965727b76d967.zip
FreeBSD-ports-e5c33c3685ea7b46e582fd3402e965727b76d967.tar.gz
Mount the md image async since this gives much better performance
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/claim-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/claim-chroot b/Tools/portbuild/scripts/claim-chroot
index c03283f..3700244 100755
--- a/Tools/portbuild/scripts/claim-chroot
+++ b/Tools/portbuild/scripts/claim-chroot
@@ -47,7 +47,7 @@ while [ ${found} != 1 ]; do
chroot=${chrootdir}/${chrootnum}
mkdir -p ${chroot}/used 2>/dev/null || continue
# Need to make sure that used/ is also present after mounting the fresh md so as to not leave open any races
- mount /dev/${unit} ${chroot}/used
+ mount -o async /dev/${unit} ${chroot}/used
mkdir ${chroot}/used/used
touch ${chroot}/used/used/${pkgname}
umount ${chroot}/used
OpenPOWER on IntegriCloud