# # Copyright (c) International Business Machines Corp., 2005 # Author: Avantika Mathur (mathurav@us.ibm.com) # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # . "${FS_BIND_ROOT}/bin/setup" . "${FS_BIND_ROOT}/bin/setupnslock" startparent iamgoingahead result=0 mount --rbind "$disk1" dir1/x check dir1/x dir2/x dir3/x dir4/x mount --rbind "$disk2" dir2/x/a check -n dir1/x/a dir2/x/a check dir2/x/a dir3/x/a dir4/x/a goahead iamgoingahead check -n dir1/x/b dir3/x/b check -n dir2/x/b dir3/x/b check dir3/x/b dir4/x/b check "$disk3" dir3/x/b check -n "$disk4" dir4/x/c check dir1/x/c dir2/x/c dir3/x/c dir4/x/c exit $result