Package: util-linux Version: 2.13.1.1-1 Severity: normal In a virtual environment device names are even more arbitrary than they are without virtualisation. I often have /dev/hdb being a device that is specially created for use as swap.
A more reasonable test would be to check whether unpartitioned devices are used (this would block /dev/hd[a-z]$, /dev/sd[a-z]$, /dev/xvd[a-z]$, and /dev/cciss/c[0-9]d[0-9]$). Then after recognising such a device the sys-admin should be prompted as to whether they wish to continue with the operation. Below is the output from running mke2fs as a guide: # mke2fs /dev/hdb mke2fs 1.41.0 (10-Jul-2008) /dev/hdb is entire device, not just one partition! Proceed anyway? (y,n) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]