Using Multi-Byte Character Sets in PHP (Unicode, UTF-8, etc)
Getting Set up with Ogre 3D on Ubuntu
Changing Mailman Python Scripts for Virtual Host Support
Native Linux Space Warfare: Freespace 2
Development Resource Project
Using PHP pspell Spell Check Functions with a Custom Dictionary

How to Cancel an fsck Disk Check during Boot on Arch Linux

Monday, 11 June 12, 9:45 am
It's worth routinely checking your hard disks to alert you in advance of an impending disk failure and to tidy up orphaned blocks should they occur (very rare). For normal home users, who of course keep back-ups of important files in other locations, running this check once a month is sufficient, which you set using fs2tune.

However, in Arch Linux the fsck disk checker does not offer the option to abort a disk check once it has started. In Ubuntu for instance, you are told to press Esc to cancel. You can however abort fsck with Ctrl-C, but by default, fsck will then treat the disk as having failed the disk check, and only mount it read-only.

To get round this, create a file called e2fsck.conf in /etc/, and add the following line:
[options] allow_cancellation = true
Now when you cancel a running disk check with Ctrl-C, the disk will be mounted normally. Note that the disk check will run again on next boot.

Another point worth mentioning is that if your filesystem is ext3, seriously consider upgrading it to ext4 as that is considerably faster to disk-check. Check out these links for how-tos:
Leave Comment

/xkcd/ Houston

About This Page