Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/src/linux-headers-2.6.24-28/Documentation/aoe/ drwxr-xr-x |
Viewing file: Select action/file-type: #!/bin/sh n_shelves=${n_shelves:-10} n_partitions=${n_partitions:-16} if test "$#" != "1"; then echo "Usage: sh `basename $0` {dir}" 1>&2 echo " n_partitions=16 sh `basename $0` {dir}" 1>&2 exit 1 fi dir=$1 MAJOR=152 echo "Creating AoE devnode files in $dir ..." set -e mkdir -p $dir # (Status info is in sysfs. See status.sh.) # rm -f $dir/stat # mknod -m 0400 $dir/stat c $MAJOR 1 rm -f $dir/err mknod -m 0400 $dir/err c $MAJOR 2 rm -f $dir/discover mknod -m 0200 $dir/discover c $MAJOR 3 rm -f $dir/interfaces mknod -m 0200 $dir/interfaces c $MAJOR 4 rm -f $dir/revalidate mknod -m 0200 $dir/revalidate c $MAJOR 5 export n_partitions mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'` i=0 while test $i -lt $n_shelves; do sh -xc "sh $mkshelf $dir $i" i=`expr $i + 1` done |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0147 ]-- |