Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../.././../sbin/unshareall
Real path: /usr/sbin/unshareall
Zurück
#!/usr/sbin/sh # # Copyright (c) 1989, 2011, Oracle and/or its affiliates. All rights reserved. # unshareall -- unshare resources USAGE="unshareall [-F fsys[,fsys...]]" fsys= set -- `getopt F: $*` if [ $? != 0 ] # invalid options then echo $USAGE >&2 exit 1 fi for i in $* # pick up the options do case $i in -F) fsys=$2; shift 2;; --) shift; break;; esac done if [ $# -gt 0 ] # accept no arguments then echo $USAGE >&2 exit 1 fi if [ "$fsys" ] # for each file system ... then fsys=`echo $fsys|tr ',' ' '` for i in $fsys do /usr/sbin/unshare -F $fsys -a done else # for every file system ... /usr/sbin/unshare -a fi