50 lines
1.3 KiB
Plaintext
Executable File
50 lines
1.3 KiB
Plaintext
Executable File
#
|
|
# 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"
|
|
|
|
startchild
|
|
goahead
|
|
iamgoingahead
|
|
|
|
|
|
result=0
|
|
|
|
check dir1/x dir2/x dir3/x dir4/x
|
|
|
|
echo ls dir1/x/a
|
|
ls dir1/x/a
|
|
check -n dir1/x/a dir2/x/a
|
|
check "$disk2" dir2/x/a dir3/x/a dir4/x/a
|
|
|
|
mount --rbind "$disk3" dir3/x/b
|
|
check -n dir1/x/b dir3/x/b
|
|
check -n dir2/x/b dir3/x/b
|
|
check dir3/x/b dir4/x/b
|
|
|
|
mount --rbind "$disk4" dir4/x/c
|
|
check -n dir1/x/c dir4/x/c
|
|
check -n dir2/x/c dir4/x/c
|
|
check -n dir3/x/c dir4/x/c
|
|
|
|
|
|
exit $result
|