SEEK_HOLE or FIEMAP?
Posted Dec 7, 2007 1:55 UTC (Fri) by
giraffedata (subscriber, #1954)
In reply to:
SEEK_HOLE or FIEMAP? by etienne_lorrain@yahoo.fr
Parent article:
SEEK_HOLE or FIEMAP?
It's much cleaner to have the boot loader use the proper directories, block maps, etc. to access the filesystem. GRUB does this.
In its usual deployment, GRUB still has the problem because that code that knows how to access the filesystem is in the filesystem, and the only way GRUB knows to find it is with built-in block numbers.
But it's possible to put that code outside the filesystem, in an area of disk reserved for that purpose, and then the world is as it should be. You don't need any special kernel interfaces at boot loader installation time, and you don't have to take care to keep the blocks from moving after you've installed the boot loader.
(
Log in to post comments)