Subject: Re: Crosscompiling
To: None <>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-toolchain
Date: 01/06/2000 11:37:53
>>> [Y]ou'd need to come up with something like the vnd device for the
>>> other systems.  You need to make an ffs on a file... :-(
>> That doesn't demand vnds.  Just something mtoolsish.
> If that were it, yes.  But [a] number of ports have installboot
> programs which need to encode the block addresses of a secondary
> loader into the loader they install.  They usually need the
> filesystem mounted to do this.

That's only because they're a little lazy; they need the inumber of
/boot or /ufsboot or whatever the second-stage boot program is called,
and they get it from stat(2) rather than by walking the path
themselves.  They have to poke at the raw disk anyway to figure out the
block numbers to stuff into the first-stage bootblocks; there's no
*need* for them to get that inumber from stat.

Two of my "ffs via raw disk" programs can do path walks already. :-)

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B