FreeBSD Bugzilla – Attachment 106993 Details for
Bug 147685
[rc.d] [patch] new feature for /etc/rc.d/fsck
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.11 KB, created by
admin
on 2010-06-08 11:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
admin
Created:
2010-06-08 11:50:01 UTC
Size:
1.11 KB
patch
obsolete
>--- /tmp/fsck.orig 2010-06-08 14:17:59.000000000 +0400 >+++ /etc/rc.d/fsck 2010-06-08 14:18:24.000000000 +0400 >@@ -27,7 +27,16 @@ > if checkyesno background_fsck; then > fsck -F -p > else >- fsck -p >+ if checkyesno force_fsck; then >+ echo "Force fsck enabled" >+ for filesystem in ${force_fsck_list} >+ do >+ echo "Force check $filesystem" >+ fsck -y $filesystem >+ done >+ else >+ fsck -p >+ fi > fi > > case $? in >--- /tmp/rc.conf 2010-06-08 14:36:52.000000000 +0400 >+++ /etc/defaults/rc.conf 2010-06-08 14:38:55.000000000 +0400 >@@ -87,6 +87,9 @@ > fsck_y_flags="" # Additional flags for fsck -y > background_fsck="YES" # Attempt to run fsck in the background where possible. > background_fsck_delay="60" # Time to wait (seconds) before starting the fsck. >+force_fsck="NO" # force check filesystems on startup >+force_fsck_list="" # list file systems for force check on startup >+#force_fsck_list="/ /usr /var" > netfs_types="nfs:NFS nfs4:NFS4 smbfs:SMB portalfs:PORTAL nwfs:NWFS" # Net filesystems. > extra_netfs_types="NO" # List of network extra filesystem types for delayed > # mount at startup (or NO).
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 147685
: 106993