0

I read on some linux blogs that to reboot without going through fsck you can use the following command:

shutdown -rf now

I read that the -f flag means "reboot fast".

However, I cannot find any references to this option in the man of my RHEL 6.5.

Pozinux
  • 1,365
  • 1
    Where did you read f is fast reboot? Seeing the man page for shutdown it doesn't show any -f flag. https://linux.die.net/man/8/shutdown It could be deprecated and removed – Alberto Méndez Feb 03 '17 at 12:24
  • I found the reference in several links like this one for example : http://www.computerhope.com/unix/ushutdow.htm or this one : http://unixadminguide.blogspot.fr/2013/12/how-to-disable-fsck-on-reboot-in-linux.html – Pozinux Feb 03 '17 at 12:26
  • 1
    Maybe that flag was removed, do a man shutdown and you will see all the flags available. The post you link is from 2013, a long time ago. – Alberto Méndez Feb 03 '17 at 12:28
  • I imagine this option is deprecated then. How can I check that it is a deprecated option? – Pozinux Feb 03 '17 at 12:29
  • 1
    I don't know how to see if it was deprecated but maybe looking to the RHEL/Linux/Unix changelog you can find it. – Alberto Méndez Feb 03 '17 at 12:31

1 Answers1

2

I don't have any reference to this flag in any of my running systems, but I have found one at linuxcommand.org:

http://linuxcommand.org/man_pages/shutdown8.html

   -f     Skip fsck on reboot.

My guess is that it does not work with every boot loader, so it has been removed.

Bruno9779
  • 1,384
  • 2
    There's no need to guess. The information is already on Stack Exchange. Start at http://unix.stackexchange.com/a/196471/5132 and http://unix.stackexchange.com/a/196014/5132 – JdeBP Feb 03 '17 at 15:21
  • Nice and detailed links. – Bruno9779 Feb 03 '17 at 17:45