Donald Russell gmail.com> writes:
> ...
> I'm also going to open a ticket with redhat to suggest a more elegant solution
> Something like adding this line to rc.sysinit before running fsck...
> [ -f /etc/fsckenv ] && . /etc/fsckenv
> Similar to how rc.sysinit allows fsck command line options in
On Wed, Jan 5, 2011 at 10:04, JB wrote:
> Donald Russell gmail.com> writes:
>
> > ...
>
> There is no clearly defined config file to set in/read from your fsck env
> variable.
> So, you have to modify startup scripts and set it there before fsck call.
>
> # grep -ir fsck /etc
> ...
> /etc/init.d
Donald Russell gmail.com> writes:
> ...
There is no clearly defined config file to set in/read from your fsck env
variable.
So, you have to modify startup scripts and set it there before fsck call.
# grep -ir fsck /etc
...
/etc/init.d/netfs
...
/etc/rc.d/init.d/netfs
...
/etc/rc.d/rc.sysinit
..
I'd like to set the FSCK_FORCE_ALL_PARALLEL environment variable so fsck
uses it when it runs when the system is coming up. (i.e. after a shutdown -F
)
I don't know where to set these sorts of environment variables...
/etc/profile.d/* seems to be too late. I tried /etc/sysconfig/init but I
don't t