projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d8a164
)
nfs/nfsroot-cleanup.sh: mount --bind instead of --move
author
Harald Hoyer
<harald@redhat.com>
Thu, 29 Nov 2012 15:07:35 +0000
(16:07 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 14 Dec 2012 08:04:55 +0000
(09:04 +0100)
modules.d/95nfs/nfsroot-cleanup.sh
patch
|
blob
|
history
diff --git
a/modules.d/95nfs/nfsroot-cleanup.sh
b/modules.d/95nfs/nfsroot-cleanup.sh
index
5610016
..
586749c
100755
(executable)
--- a/
modules.d/95nfs/nfsroot-cleanup.sh
+++ b/
modules.d/95nfs/nfsroot-cleanup.sh
@@
-22,7
+22,9
@@
if incol2 /proc/mounts /var/lib/nfs/rpc_pipefs; then
mkdir -m 0755 -p $NEWROOT/$rpcpipefspath 2>/dev/null
if [ -d $NEWROOT/$rpcpipefspath ]; then
- mount --move /var/lib/nfs/rpc_pipefs $NEWROOT/$rpcpipefspath
+ # mount --move does not seem to work???
+ mount --bind /var/lib/nfs/rpc_pipefs $NEWROOT/$rpcpipefspath
+ umount /var/lib/nfs/rpc_pipefs
else
umount /var/lib/nfs/rpc_pipefs
fi