FreeBSD Bugzilla – Attachment 40169 Details for
Bug 63169
Booting crashes on CURRENT with NFS mounts in fstab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.59 KB, created by
James E. Housley
on 2004-02-21 13:30:21 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
James E. Housley
Created:
2004-02-21 13:30:21 UTC
Size:
1.59 KB
patch
obsolete
>--- /usr/src/etc/rc.d/bgfsck Wed Apr 23 11:38:02 2003 >+++ bgfsck Sat Feb 21 08:03:54 2004 >@@ -22,7 +22,25 @@ > fi > echo "${bgfsck_msg}." > >- (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \ >+ # Set up the list of network filesystem types for which mounting >+ # should be delayed until after network initialization. >+ case ${extra_netfs_types} in >+ [Nn][Oo]) >+ ;; >+ *) >+ netfs_types="${netfs_types} ${extra_netfs_types}" >+ ;; >+ esac >+ >+ # Mount everything except nfs filesystems. >+ mount_excludes='no' >+ for i in ${netfs_types}; do >+ fstype=${i%:*} >+ mount_excludes="${mount_excludes}${fstype}," >+ done >+ mount_excludes=${mount_excludes%,} >+ >+ (sleep ${background_fsck_delay}; nice -4 fsck -B -p -t ${mount_excludes}) 2>&1 | \ > logger -p daemon.notice -t fsck & > } > >--- /usr/src/etc/rc.d/fsck Sat Oct 12 06:31:31 2002 >+++ fsck Sat Feb 21 03:08:18 2004 >@@ -36,10 +36,28 @@ > echo "Starting file system checks:" > case ${OSTYPE} in > FreeBSD) >+ # Set up the list of network filesystem types for which mounting >+ # should be delayed until after network initialization. >+ case ${extra_netfs_types} in >+ [Nn][Oo]) >+ ;; >+ *) >+ netfs_types="${netfs_types} ${extra_netfs_types}" >+ ;; >+ esac >+ >+ # Mount everything except nfs filesystems. >+ mount_excludes='no' >+ for i in ${netfs_types}; do >+ fstype=${i%:*} >+ mount_excludes="${mount_excludes}${fstype}," >+ done >+ mount_excludes=${mount_excludes%,} >+ > if checkyesno background_fsck; then >- fsck -F -p >+ fsck -F -p -t {mount_excludes} > else >- fsck -p >+ fsck -p -t {mount_excludes} > fi > ;; > NetBSD)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 63169
: 40169