Permalink
Browse files

genfstab: correctly specify bind as option

'bind' is an option, not an fstype. In the case of a bind mount, the
fstype is ignored.
  • Loading branch information...
falconindy committed Dec 9, 2012
1 parent 2179b43 commit e4b4e302131eacf6a7a292d3b242742d0e0cf3f1
Showing with 2 additions and 1 deletion.
  1. +2 −1 genfstab.in
View
@@ -134,7 +134,8 @@ findmnt -Recvruno SOURCE,TARGET,FSTYPE,OPTIONS,FSROOT "$root" |
# just re-adds it.
continue
fi
- fstype=bind
+ fstype=none
+ opts+=,bind
pass=0
fi
fi

0 comments on commit e4b4e30

Please sign in to comment.