Skip to content

Commit

Permalink
Skipping '_netdev' Debian fstab option
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Bautista <[email protected]>
  • Loading branch information
FlorentCoppint committed Apr 25, 2014
1 parent 4ed25fd commit 9ac264a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mount.fuse.ceph
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ cephargs='--'`echo $1 | sed 's/,/ --/g'`
# strip out 'noauto' option; libfuse doesn't like it
opts=`echo $4 | sed 's/,noauto//' | sed 's/noauto,//'`

# strip out '_netdev' option; libfuse doesn't like it
opts=`echo $opts | sed 's/,_netdev//' | sed 's/_netdev,//'`

# go
exec ceph-fuse $cephargs $2 $3 $opts

0 comments on commit 9ac264a

Please sign in to comment.