also sprach Theodore Ts'o <ty...@mit.edu> [2014-12-17 05:44 +0100]: > I'm not sure I understand why this would be useful. Suppose the > answer is "e2fsck is going to check all of the disks and it's > going to take two hours to check your RAID array". Is that going > to make a difference to the sysadmin in terms of deciding whether > or not to continue?
Yes, I think so. It might make him/her postpone the reboot to the night, rather than to run it during lunch break. > And note that if I add this to e2fsck, the calling program is > still going to have to parse /etc/fstab and call e2fsck with some > magic option which will do this check. fsck -A -T … does this already for us. > If I did do this, it would probaby be as a standalone program in > contrib, and I'm not sure I would package it, simply because I'm > not yet convinced how many users would use it, and maintaining it > as yet another binary in /usr/bin, and another man page, if it's > highly specialized and only one or two users would find it useful, > doesn't seem to me to be a good trade off --- espceially since > we've already changed the default due to too many users kvetching > and whining about the boot-time check. You've turned off the default parameters, i.e. made them 0 or impossibly large so that routine checks don't run anymore. The fsck code still includes the logic to check whether a routine should be run. Instead of writing a new binary to do this, it seems adding -q to e2fsck would allow you to reuse this logic, would not add another binary anywhere and would only require a tiny change to the manpage. > (Me, I use LVM snapshots and checks that don't require that I do > a rebooot; this also means I can do them much more frequently. > The e2croncheck ***really*** is a the right way to go.) Yes, but I ***really*** doubt that Debian will make LVM required anytime soon. -- .''`. martin f. krafft <madduck@d.o> @martinkrafft : :' : proud Debian developer `. `'` http://people.debian.org/~madduck `- Debian - when you have better things to do than fixing systems "prisons are built with stones of law, brothels with bricks of religion." -- william blake
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)