|
Lines 36-45
Link Here
|
| 36 |
echo "Starting file system checks:" |
36 |
echo "Starting file system checks:" |
| 37 |
case ${OSTYPE} in |
37 |
case ${OSTYPE} in |
| 38 |
FreeBSD) |
38 |
FreeBSD) |
|
|
39 |
# Set up the list of network filesystem types for which mounting |
| 40 |
# should be delayed until after network initialization. |
| 41 |
case ${extra_netfs_types} in |
| 42 |
[Nn][Oo]) |
| 43 |
;; |
| 44 |
*) |
| 45 |
netfs_types="${netfs_types} ${extra_netfs_types}" |
| 46 |
;; |
| 47 |
esac |
| 48 |
|
| 49 |
# Mount everything except nfs filesystems. |
| 50 |
mount_excludes='no' |
| 51 |
for i in ${netfs_types}; do |
| 52 |
fstype=${i%:*} |
| 53 |
mount_excludes="${mount_excludes}${fstype}," |
| 54 |
done |
| 55 |
mount_excludes=${mount_excludes%,} |
| 56 |
|
| 39 |
if checkyesno background_fsck; then |
57 |
if checkyesno background_fsck; then |
| 40 |
fsck -F -p |
58 |
fsck -F -p -t {mount_excludes} |
| 41 |
else |
59 |
else |
| 42 |
fsck -p |
60 |
fsck -p -t {mount_excludes} |
| 43 |
fi |
61 |
fi |
| 44 |
;; |
62 |
;; |
| 45 |
NetBSD) |
63 |
NetBSD) |