[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Skipping fsck during boot with systemd?



On Sat, Dec 13, 2014 at 7:37 PM, Elimar Riesebieter <riesebie@lxtec.de> wrote:
> * Patrick Bartek <nemommxiv@gmail.com> [2014-12-12 20:07 -0800]:
>
> [...]> I prefer to manually fsck.  Easier.  I just do this as root before
>> shutdown -r now:
>>
>> touch /forcefsck
>>
>> On booting, fsck is run on all partitions, then the empty file
>> forcefsck is deleted. So, this only works for that particular boot.
>
> shutdown(8)
>
> ..
>        -f     Skip fsck on reboot.
>
>        -F     Force fsck on reboot.
> ..
>
>
> Elimar
> --
>  Never make anything simple and efficient when a way
>   can be found to make it complex and wonderful ;-)

Sshhh. Don't remind us to read the man pages.

:-p

-- 
Joel Rees

Be careful when you look at conspiracy.
Look first in your own heart,
and ask yourself if you are not your own worst enemy.
Arm yourself with knowledge of yourself, as well.


Reply to: