summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/disk/format.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/cmd/disk/format.c b/sys/src/cmd/disk/format.c
index f74b76a21..0410bd423 100644
--- a/sys/src/cmd/disk/format.c
+++ b/sys/src/cmd/disk/format.c
@@ -560,14 +560,6 @@ if(chatty) print("try %d fatbits => %d clusters of %d\n", fatbits, clusters, clu
if(chatty) print("driveno = %ux\n", b->driveno);
b->bootsig = 0x29;
- x = disk->offset + b->nfats*fatsecs + nresrv;
- PUTLONG(b->volid, x);
- /*
- * FAT32 9boot PBS requires volid at this
- * offset even for FAT16/FAT12 partitions.
- */
- PUTLONG(b->volid+28, x);
-if(chatty) print("volid = %lux %lux\n", x, GETLONG(b->volid));
memmove(b->label, label, sizeof(b->label));
sprint(r, "FAT%d ", fatbits);
memmove(b->type, r, sizeof(b->type));