+ # early BootCD's seem to come with a version of mkfs.btrfs that does not support -f
+ # let's check for that before invoking it
+ mkfs="mkfs.btrfs"
+ if os.system("mkfs.btrfs --help 2>&1 | grep force")==0:
+ mkfs+=" -f"
+ mkfs+=" %s"%devname
+ utils.sysexec( mkfs, log )