ref: f78033a99ecf9e539207ad1c4e8d5a0188d9a56f
parent: 20a698d4fad47223f61da75f777aab7a4b31758e
author: ment <thement@ibawizard.net>
date: Wed Jun 8 19:05:20 EDT 2011
disk/format: removed 9fat magic VOLID value
--- a/sys/src/cmd/disk/format.c
+++ b/sys/src/cmd/disk/format.c
@@ -560,14 +560,6 @@
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));
--
⑨