Browse Source

crank ulimit -d for fsck run (someone with a 19GB ccd ran into a problem)

OPENBSD_2_1
deraadt 28 years ago
parent
commit
bdbd01e10b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.27 1996/12/07 12:19:00 deraadt Exp $
# $OpenBSD: rc,v 1.28 1996/12/22 20:14:09 deraadt Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -25,7 +25,7 @@ if [ -e /fastboot ]; then
echo "Fast boot: skipping disk checks." echo "Fast boot: skipping disk checks."
elif [ $1x = autobootx ]; then elif [ $1x = autobootx ]; then
echo "Automatic boot in progress: starting file system checks." echo "Automatic boot in progress: starting file system checks."
fsck -p
( ulimit -d 32768; fsck -p )
case $? in case $? in
0) 0)
;; ;;


Loading…
Cancel
Save