(void) ide_xlate_1024(dev, heads, " [P\
TBL]");
- break;
+ xlate_done = 1;
}
}
}
+ if (!xlate_done) {
+ /*
+ * Default translation is equivalent of "BIOS LBA":
+ */
+ ide_xlate_1024(dev, -2, " [LBA]");
+ }
}
}
#endif /* CONFIG_BLK_DEV_IDE */
---------------------------------------------------------------
a very bad idea.
It decides that all disks should use a translated geometry. Why?
It makes fdisk complain.
It makes cfdisk exit with a fatal error.
It makes LILO unhappy.
It decreases the useful size of the disk.
It causes trouble for lots of people. For no reason I can see.
(For example, a 12 GB disk of mine went from 23361/16/63
to 1465/255/63, a loss of 6 MB. And there are files there.)
Unless someone comes with convincing arguments why this change
is a good idea, I think it should be undone.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html