fsck (126744) | fsck (126862) |
---|---|
1#!/bin/sh 2# 3# $NetBSD: fsck,v 1.2 2001/06/18 06:42:35 lukem Exp $ | 1#!/bin/sh 2# 3# $NetBSD: fsck,v 1.2 2001/06/18 06:42:35 lukem Exp $ |
4# $FreeBSD: head/etc/rc.d/fsck 126744 2004-03-08 12:25:05Z pjd $ | 4# $FreeBSD: head/etc/rc.d/fsck 126862 2004-03-11 20:00:10Z kientzle $ |
5# 6 7# PROVIDE: fsck 8# REQUIRE: localswap 9# KEYWORD: FreeBSD nojail 10 11. /etc/rc.subr 12 --- 11 unchanged lines hidden (view full) --- 24 fi 25 exit 1 26} 27 28fsck_start() 29{ 30 if [ "$autoboot" = no ]; then 31 echo "Fast boot: skipping disk checks." | 5# 6 7# PROVIDE: fsck 8# REQUIRE: localswap 9# KEYWORD: FreeBSD nojail 10 11. /etc/rc.subr 12 --- 11 unchanged lines hidden (view full) --- 24 fi 25 exit 1 26} 27 28fsck_start() 29{ 30 if [ "$autoboot" = no ]; then 31 echo "Fast boot: skipping disk checks." |
32 elif [ ! -r /etc/fstab ]; then 33 echo "Warning! No /etc/fstab: skipping disk checks." |
|
32 elif [ "$autoboot" = yes ]; then 33 # During fsck ignore SIGQUIT 34 trap : 3 35 36 echo "Starting file system checks:" 37 if checkyesno background_fsck; then 38 fsck -F -p 39 else --- 49 unchanged lines hidden --- | 34 elif [ "$autoboot" = yes ]; then 35 # During fsck ignore SIGQUIT 36 trap : 3 37 38 echo "Starting file system checks:" 39 if checkyesno background_fsck; then 40 fsck -F -p 41 else --- 49 unchanged lines hidden --- |