how to shutdown with bypassing any fsck's
I just loaded a new CentOS box, and doing a man shutdown noticed there's no longer a -f option to skip fsck's on shutdown, which I do need to do from time to time.
Is there a workaround to do this via a command anymore? Anyone know why they removed it? |
Try just
Code:
init 0 |
That doesn't do a graceful shutdown does it
|
Actually, I think its the most graceful shutdown. Nothing gets hung or held up waiting for daemons to close etc. Give it a try.
|
but how does that tell it to skip any scheduled fsck's on reboot? i'm not understanding that part.
|
I have CentOS 6.4, and as you mentioned there is no -f option. So i believe, -f options will skip fsck check at next boot. In that case you can try following:
Code:
# touch /fastboot Code:
# shutdown -rf now |
ah, a /fastboot like the opposite of /forcefsck. never thought there might be something like that, i'll give it a shot!
|
All times are GMT -5. The time now is 11:24 AM. |