|
|
| File: [Development] / linux-2.6-xfs / Documentation / aoe / autoload.sh (download)
Revision 1.1, Fri Mar 4 14:41:21 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Merge up to 2.6.11 Merge of 2.6.x-xfs-melb:linux:21721a by kenmcd. |
#!/bin/sh # set aoe to autoload by installing the # aliases in /etc/modprobe.conf f=/etc/modprobe.conf if test ! -r $f || test ! -w $f; then echo "cannot configure $f for module autoloading" 1>&2 exit 1 fi grep major-152 $f >/dev/null if [ $? = 1 ]; then echo alias block-major-152 aoe >> $f echo alias char-major-152 aoe >> $f fi