get rid of *logsave

Forum rules
Share your brain ;)
User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

get rid of *logsave

Unread post by dkeg » Sun Oct 27, 2013 4:50 am

Don't want to clog up your pstree with those two mysterious *logsave processes? Speed up boot time?

Note: this is only if using init and not systemd

open the following two files as root

Code: Select all

/etc/init.d/checkfs.sh
&
/etc/init.d/checkroot.sh
find this line

Code: Select all

logsave -s $FSCK_LOGFILE fsck $spinner $force $fix -V -t $roottype $rootdev
and change it to this

Code: Select all

fsck $spinner $force $fix -V -t $roottype $rootdev
Now your pstree is slimmer :) and less 2 processes

might just be my ocd, but it was driving me crazy

Work hard; Complain less

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: get rid of *logsave

Unread post by rhowaldt » Sun Oct 27, 2013 3:32 pm

hihihi, love this dkeg. reminds me of the hours i spent pouring over my dmesg output, weeding out all the little things that didn't need to be there. massive increase in boot-time of at least 3 nanoseconds, but my mind was cleared. OCD FTW ;)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

Post Reply