Hallo Jörg Am 02. May 2008 um 23:14 CEST schrieb Jörg Sommer: > Stefan Luetje <nur-fuer-spam@t-online.de> wrote: > > Komisch, ich bin mir eigentlich ziemlich sicher, daß auf meinem Laptop > > (etch) heute morgen die /usr Partition im Akkubetrieb geprüft wurde. > > Was für eine Architektur hast Du denn? Ich habe einen PowerPC und dafür > gibt es das Programm on_ac_power nicht. Aber ich habe es als Funktion in > /etc/default/rcS erstellt: Ich benutze eine 386 Architektur und das Paket 'powermgmt-base' mit on_ac_power ist bei mir installiert. > on_ac_power() > { > [ "$(sed -n '/AC Power/{s/.*: //;p;}' /proc/pmu/info)" -ne 1 ] > } > > Folgender Kommentar steht in /etc/init.d/checkfs.sh > > # See if we're on AC Power. If not, we're not gonna run our > # check. If on_ac_power (in /usr/) is unavailable, behave as > # before and check all file systems needing it. Das steht bei mir dort auch. Aus meiner fstab: /dev/mapper/thinkpad-usr /usr ext3 defaults 0 2 und 'tune2fs -l /dev/mapper/thinkpad-usr' bringt folgende Ausgabe: ,---- | tune2fs 1.40-WIP (14-Nov-2006) | Filesystem volume name: <none> | Last mounted on: <not available> | Filesystem UUID: cbdace25-d905-489a-ba4b-adfea40517be | Filesystem magic number: 0xEF53 | Filesystem revision #: 1 (dynamic) | Filesystem features: has_journal resize_inode dir_index filetype needs_recovery sparse_super large_file | Filesystem flags: signed directory hash | Default mount options: (none) | Filesystem state: clean | Errors behavior: Continue | Filesystem OS type: Linux | Inode count: 625248 | Block count: 1250304 | Reserved block count: 62515 | Free blocks: 414046 | Free inodes: 497180 | First block: 0 | Block size: 4096 | Fragment size: 4096 | Reserved GDT blocks: 305 | Blocks per group: 32768 | Fragments per group: 32768 | Inodes per group: 16032 | Inode blocks per group: 501 | Filesystem created: Wed Nov 21 20:48:36 2007 | Last mount time: Sat May 3 15:12:51 2008 | Last write time: Sat May 3 15:12:51 2008 | Mount count: 5 | Maximum mount count: 22 | Last checked: Fri May 2 07:54:27 2008 | Check interval: 15552000 (6 months) | Next check after: Wed Oct 29 06:54:27 2008 | Reserved blocks uid: 0 (user root) | Reserved blocks gid: 0 (group root) | First inode: 11 | Inode size: 128 | Journal inode: 8 | Default directory hash: tea | Directory Hash Seed: 85e50281-509b-4d9f-be54-e369ae0051f8 | Journal backup: inode blocks `---- Gruß Stefan -- Stefan Lütje <stefan.luetje@t-online.de> Skelli@jabber.ccc.de Key fingerprint = BCB2 48E4 9211 C975 5A3F B192 9B6E CCCF 99CC 44FA "Mit menschlicher Fälschbarkeit kenne ich mich aus." George W. Bush
Attachment:
signature.asc
Description: Digital signature