Skip to content

Commit 0a17195

Browse files
committed
Merge pull request ClusterLabs#645 from sathieu/patch-1
Support RozoFS
2 parents 2f35c9c + c0a416a commit 0a17195

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

heartbeat/Filesystem

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ determine_blockdevice() {
275275
# Get the current real device name, if possible.
276276
# (specified devname could be -L or -U...)
277277
case "$FSTYPE" in
278-
nfs4|nfs|smbfs|cifs|glusterfs|ceph|tmpfs|overlayfs|none)
278+
nfs4|nfs|smbfs|cifs|glusterfs|ceph|tmpfs|overlayfs|rozofs|none)
279279
: ;;
280280
*)
281281
DEVICE=`list_mounts | grep " $MOUNTPOINT " | cut -d' ' -f1`
@@ -326,7 +326,7 @@ is_fsck_needed() {
326326
no) false;;
327327
""|auto)
328328
case $FSTYPE in
329-
ext4|ext4dev|ext3|reiserfs|reiser4|nss|xfs|jfs|vfat|fat|nfs4|nfs|cifs|smbfs|ocfs2|gfs2|none|lustre|glusterfs|ceph|tmpfs|overlayfs)
329+
ext4|ext4dev|ext3|reiserfs|reiser4|nss|xfs|jfs|vfat|fat|nfs4|nfs|cifs|smbfs|ocfs2|gfs2|none|lustre|glusterfs|ceph|tmpfs|overlayfs|rozofs)
330330
false;;
331331
*)
332332
true;;
@@ -355,7 +355,7 @@ fstype_supported()
355355

356356
# support fuse-filesystems (e.g. GlusterFS)
357357
case $FSTYPE in
358-
glusterfs) support="fuse";;
358+
fuse.*|glusterfs|rozofs) support="fuse";;
359359
esac
360360

361361
grep -w "$support"'$' /proc/filesystems >/dev/null
@@ -724,7 +724,7 @@ set_blockdevice_var() {
724724

725725
# these are definitely not block devices
726726
case $FSTYPE in
727-
nfs4|nfs|smbfs|cifs|none|glusterfs|ceph|overlayfs) return;;
727+
nfs4|nfs|smbfs|cifs|none|glusterfs|ceph|overlayfs|rozofs) return;;
728728
esac
729729

730730
if `is_option "loop"`; then

0 commit comments

Comments
 (0)