diff options
-rw-r--r-- | libfdisk/src/dos.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index 7e2374df9..6af061b16 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -1474,6 +1474,9 @@ static int dos_set_parttype( "partitions, please see the fdisk documentation for additional " "information.")); + if (!t->type) + fdisk_warnx(cxt, _("Type 0 means free space to many systems. " + "Having partitions of type 0 is probably unwise.")); p->sys_ind = t->type; partition_set_changed(cxt, partnum, 1); |