/usr/lib/debian-edu-config/testsuite/filesystems is in debian-edu-config 1.702.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/bin/sh
#
# Check that we are using ext3, not ext2
if test -r /etc/debian-edu/config ; then
. /etc/debian-edu/config
fi
LANG=C
export LANG
awk "/ext2/ { print \"error: $0: Using ext2 on\",\$2 }" /proc/mounts
awk "/ext3/ { print \"success: $0: Using ext3 on\",\$2 }" /proc/mounts
# Make sure all ext3 mount points are online resizable
for p in `df -Pt ext3 | grep -v ^Filesystem |awk '{print $1}'`; do
if tune2fs -l $p| grep features | grep -q resize_inode ; then
:
else
echo "error: $0: Missing resize_inode in ext3 fs $p"
fi
done
# Make sure autofs do not hide the real file systems
if echo "$PROFILE" | grep -q Main-Server ; then
if [ -d /skole/tjener/home0/lost+found ] ; then
echo "success: $0: Found lost+found in /skole/tjener/home0/"
else
echo "error: $0: No lost+found in /skole/tjener/home0/. Blocked by autofs?"
fi
fi
|