Update from netbsd-1-1; give slow HP-IB disks a chance to recover by doing

a "sync; sleep 2" right before unmounting the target filesystems.
This commit is contained in:
thorpej 1995-11-07 10:35:25 +00:00
parent 72e2e395c0
commit 4db50f1045

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# $NetBSD: install.sh,v 1.2 1995/11/07 08:30:45 thorpej Exp $ # $NetBSD: install.sh,v 1.3 1995/11/07 10:35:25 thorpej Exp $
# #
# Copyright (c) 1995 Jason R. Thorpe. # Copyright (c) 1995 Jason R. Thorpe.
# All rights reserved. # All rights reserved.
@ -1114,6 +1114,7 @@ get_timezone
) )
# Unmount all filesystems and check their integrity. # Unmount all filesystems and check their integrity.
sync; sleep 2
umount -a umount -a
echo "Checking filesystem integrity..." echo "Checking filesystem integrity..."
fsck -pf fsck -pf