* 'raiddisks' device extents of size 'size' at a given
* offset
*/
- unsigned long long minsize = size*2 /* convert to blocks */;
+ unsigned long long minsize = size;
unsigned long long start_offset = ~0ULL;
int dcnt = 0;
if (minsize == 0)
verbose);
}
+ if (!dev) {
+ if (st->sb && freesize) {
+ /* Should do auto-layout here */
+ fprintf(stderr, Name ": IMSM does not support auto-layout yet\n");
+ return 0;
+ }
+ return 1;
+ }
if (st->sb) {
/* creating in a given container */
return validate_geometry_imsm_volume(st, level, layout,