Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 60403
Collapse All | Expand All

(-)afs (-4 / +5 lines)
Lines 36-46 Link Here
36
# check for ext2 partition
36
# check for ext2 partition
37
37
38
check_ext2() {
38
check_ext2() {
39
  PART=`cat /proc/mounts | grep vice | grep ext2 | awk '{print $1}'`
39
  PART=`df /usr/vice/cache | tail -n 1 | awk '{ print $1 }'`
40
  if [ -z "$PART" ]
40
  FSTYPE=`cat /proc/mounts | grep $PART | awk '{ print $3 }'`
41
  if [ "$PART" != "ext2" ]
41
  then
42
  then
42
    echo ">>> PLEASE CREATE A EXT2 (no reiserfs) PARTITION (of aprox. 200M)"
43
    echo ">>> PLEASE MOUNT OR POINT /usr/vice/cache TO A NON-JOURNALED PARTITION"
43
    echo ">>> AND MOUNT IT TO /USR/VICE/CACHE !!!"
44
    echo ">>> (of aprox. 200M). SO NO ext3 OR reiserfs PARTITION!!!"
44
    return 1
45
    return 1
45
  fi
46
  fi
46
}
47
}

Return to bug 60403