Package: laptop-mode-tools
Version: 1.05-1
Severity: normal

On my system, my root partition is recorded as being of type
ext3,ext2, and /usr/sbin/laptop-mode doesn't recognize this
as being an ext3 filesystem and doesn't adjust the commit time.  
The fix is to change the two occurrences of "ext3" to 
"ext3"|"ext3,ext2".

# cat /etc/mtab
/dev/hda2 / ext3,ext2 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
/dev/hda3 /usr ext3 rw 0 0

# cat /etc/fstab
/dev/hda2       /               ext3,ext2       errors=remount-ro   0   1
/dev/hda5       none            swap            sw              0       0
proc            /proc           proc            defaults        0       0
/dev/fd0        /floppy         auto            user,noauto     0       0
/dev/cdrom      /cdrom          iso9660         ro,user,noauto  0       0
/dev/hda1       /boot           ext3,ext2       defaults        0       2
/dev/hda3       /usr            ext3,ext2       defaults,ro     0       2

I use "ext3,ext2" so that the kernel falls back to ext2 if necessary.
Note that hda1 and hda3 are also marked as ext3,ext2 here, but not
in /etc/mtab.  Odd.

Dan

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (750, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.12
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages laptop-mode-tools depends on:
ii  powermgmt-base                1.22       Common utils and configs for power

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to