fstype=$(get_fstype "${devname}")
if is_supported_fs ${fstype}; then
if "${fstype}" = "ntfs"
fstype="ntfs-3g"
fi
mount -t ${fstype} -o ro "${devname}" $mountpoint || continue
if is_casper_path $mountpoint; then
echo $mountpoint
return 0
else
umount $mountpoint
fi
fi
No comments:
Post a Comment