Skip to content

Commit

Permalink
don't mount filesystem types 'nfs4' and 'cephfs' in mount2dir
Browse files Browse the repository at this point in the history
both are network filesystems, and the fai nfsroot usually is not configured for cephfs mounting
  • Loading branch information
glaweh committed Mar 30, 2023
1 parent 2f2e63b commit f67f6d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mount2dir
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ while read device mountpoint fstype mopt dummy; do

[ "$mountpoint" == "none" ] && continue
[ "$fstype" == "nfs" ] && continue
[ "$fstype" == "nfs4" ] && continue
[ "$fstype" == "ceph" ] && continue
[ "$fstype" == "swap" ] && continue
[ "$fstype" == "proc" ] && continue
[ "$fstype" == "usbfs" ] && continue
Expand Down

0 comments on commit f67f6d2

Please sign in to comment.