Commit a8618600 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Allow mounting xfs file systems in mount_all()

parent b7bc7195
......@@ -526,7 +526,7 @@ mount_all() {
case "$osfamily" in
linux)
fs="ext[234]|msdos|vfat|ntfs|btrfs"
fs="ext[234]|msdos|vfat|ntfs|btrfs|xfs"
;;
freebsd)
fs="ufs|msdosfs|ntfs"
......
......@@ -85,7 +85,7 @@ if [[ "$ptype" == ext[234] ]]; then
elif [[ "$ptype" == "freebsd-ufs" ]]; then
$GROWFS_UFS -y "$device"
else
warn "Don't know how to resize partition \`$id' with file system \`$ptype'."
warn "Don't know how to resize unmounted partition \`$id' with file system \`$ptype'."
fi
exit 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment