Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I used to be able to run /sbin/shutdown -r -F now but in recent Ubuntu and Fedora releases there is no -F option and if I want to force an fsck I need to do touch /forcefsck; /sbin/shutdown -r now. Why was it removed?

share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

This flag does not exist in Upstart's version of shutdown. Ubuntu migrated to using Upstart as its default init system in 6.10, when sysvinit was replaced.

See this bug for more information.

share|improve this answer
    
This also applies to systemd distros, such as Fedora. –  jordanm Feb 8 '13 at 5:46
    
@jordanm Sure, -F doesn't exist in most init system's versions of shutdown. –  Chris Down Feb 8 '13 at 6:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.