bootdisk: installer-dest (HEAD) [malekith]
PLD CVS
pld-cvs-commit w pld.org.pl
Pon, 29 Lip 2002, 13:05:08 CEST
Module name: bootdisk
Changes by: malekith 02/07/29 13:05:06
Modified files:
installer-dest
Log message:
- mark jfs (in addition to ext2) for check in fstab
Index: installer-dest
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/installer-dest,v
diff -d -u -r1.58 -r1.59
--- installer-dest 2002/07/26 10:43:54 1.58
+++ installer-dest 2002/07/29 11:05:04 1.59
@@ -653,16 +653,20 @@
fi
# TODO is fs_freq ok?
- # don't try to check anything beside ext2
- if test "$filesystem" = "ext2" ; then
- case "$dir" in
- "/") fs_passno=1; fs_freq=1; ;;
- *) fs_passno=2; fs_freq=1; ;;
- esac
- else
- fs_passno=0
- fs_freq=0
- fi
+ # there is no point in checking xfs (fsck.xfs == exit 0), reiserfsck
+ # also doesn't like to be called from fsck -A, I don't know about ext3
+ # OTOH -- ext2 and jfs needs this.
+ case "$filesystem" in
+ ext2 | jfs )
+ case "$dir" in
+ "/") fs_passno=1; fs_freq=1; ;;
+ *) fs_passno=2; fs_freq=1; ;;
+ esac
+ ;;
+ * )
+ fs_passno=0
+ fs_freq=0
+ esac
: ${options:?Error: options not set}
test -z "$mode" || options="${options},mode=${mode}"
Więcej informacji o liście dyskusyjnej pld-installer