Anthony Campbell wrote: >Or should I issue tune2fs commands >(with appropriate time or mount switches) and change /etc/fstab in >some way? >If so, how?
When you modify your /etc/fstab, you'll sacrifice either backward compatibility to ext2 (if you change the fs type), or as Alan mentions, the ability of the system to check itself before something goes haywire. You have a choice then. Either change it (but lose backward compatibility with ext2. which means that if you accidentally delete the .journal file, say bye bye) or maintain it as it is (which might give you some peace of mind by not needing to retouch anything anymore on /etc/fstab) Better do what Alan recommends: change the intervals for the checks. He mentions a good point that the system can check for possible errors if you enable checking of the file system on its maximum mount count. apparently, you can also check them at your specified time (either via a script or via tune2fs) Don't mind my post to change the last column to 0 in the fs entry in /etc/fstab. Alan has made a good point (as well as the manpages and the URL) that it's good for your FS' safety. I statically state the fs type in my fstab, for I don't rely on the kernel to automatically check what fs it is to mount. >What is the purpose of the /forcefsck file that is suggested, and >what >commands is it supposed to contain? The system will look for it in the absence of maximum mount check. Kinda of making you not to forget to check your system. But the docs aren't really clear on this, as shutting down would check on this file. Too confusing... >My current /etc/fstab: > > > ># /etc/fstab: static file system information. ># ># <file system> <mount point> <type> <options> ><dump> <pass> ># >/dev/hdb1 / auto defaults,errors=remount-ro 0 > 1 >/dev/hdb5 /usr auto defaults 0 > 2 >/dev/hdb6 /var auto defaults 0 > 2 >/dev/hdb7 /usr/local auto defaults 0 > 2 >/dev/hdb8 /home auto defaults 0 > 2 >/dev/hda1 /msdos msdos rw,noauto,user 0 > 0 >/dev/hda3 /backup auto rw,noauto,user 0 > 2 >/dev/hda5 none swap sw 0 > 0 ># >proc /proc proc defaults 0 > 0 >/dev/fd0 /floppy auto defaults,user,noauto 0 > 0 >/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 > 0 ># > > >Any illumination gratefully received. > > > >Anthony > > >-- >Anthony Campbell - running Linux GNU/Debian (Windows-free zone) >For an electronic book (The Assassins of Alamut), skeptical >essays, and over 140 book reviews, go to: http://www.acampbell.org.uk/ > >Our planet is a lonely speck in the great enveloping cosmic dark. In our >obscurity, in all this vastness, there is no hint that help will come >from elsewhere to save us from ourselves. [Carl Sagan] > > > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > __________________________________ www.edsamail.com