Ethan Benson <erbenson@xxxxxxxxxx> wrote:
> On Thu, Oct 25, 2001 at 09:44:25AM -0700, erich@xxxxxxxx wrote:
>
> > It appears to work fine, though I haven't sniffed through the source in
> > detail to see if it does stuff like replay the logs... but that's
> > probably ok since when you use it in general it's read-only (only writes
> > if you run the install command), so I initially tested it running off of
> > a floppy.
BTW, I looked a bit more and it's clear it doesn't replay the log.
> grub XFS filesystem code never writes to the device, its completly
> readonly (as it should be).
Being the original author of GRUB (the core is still the same),
I can say with some certainty that GRUB *can* write to a device if it's
told to, i.e. all require explicit functions (some partition-table
mangling, some requested boot parameter memory between sessions, and
a special function called "install" which can build-in blocklists and
other information).
None of the filesystem code writes directly, but a few of those special
functions use the filesystem code to find the first block of a file
to change some parameters in it.
--
Erich Stefan Boleyn <erich@xxxxxxxx> http://www.uruk.org/
"Reality is truly stranger than fiction; Probably why fiction is so popular"
|