1 2 3 4 5
#!/bin/sh # gparted hotfix for fat filesystems on raid devices if [ -x /usr/sbin/gpartedbin ]; then sed -ri 's|(mkdosfs )-F(..) -v|\1-vIF\2 |g' /usr/sbin/gpartedbin fi