i in smit , press F6 ,
smit fs , Change / Show Characteristics of an Enhanced Journaled File System
then F6 to see the comand , how can i see the command performed ??
x() {
LIST= #
FLAG=0
for i in "$@"
do
case "$i" in
Megabytes) FLAG=1;;
Gigabytes) FLAG=2;;
512bytes) FLAG=0;;
quota=all) LIST="$LIST \"quota=userquota,groupquota\"" ;;
quota=no) LIST="${LIST%\"-a\"} -d quota" ;;
size=) LIST="${LIST%\"-a\"}" ;; #
size=*) case "$FLAG" in
1) LIST="$LIST \"$i\"M"
FLAG=0;;
2) LIST="$LIST \"$i\"G"
FLAG=0;;
0) LIST="$LIST \"$i\""
;;
;;
esac #
;;
*) LIST="$LIST \"$i\""
;;
esac
done
eval /usr/sbin/chfs $LIST
}
x '512bytes' /tmp