Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.sbin/makefs

On Tue, May 24, 2011 at 11:01:42PM +0900, Izumi Tsutsui wrote:
> On sgimips case, sgimipscd.iso has SGI specific format
> and it can't be mounted by non-SGI machines, IIRC.
> (while we can mount hybrid mac68kcd.iso and macppccd.iso on i386)

Indeed, and in this case I think support by an additional tool
like sgivol is fine.

> No idea about sparc64, but maybe it works because
> it appends MD bootfs at the end of iso9660 fs and
> Sun's label which has offsets of the bootfs is small enough
> to put it into unused part at the top of iso9660.

Exactly - it adds an ffs partition (with padding) behind the iso9660
part and uses a spare sector early in the image (ignored by iso9660)
to store the sun label. Here too it is fine to use a postprocessing tool

> > What is the content of the pre-generated HFS piece? Is it relatively static?
> I have not checked FreeBSD's one, but it may have at least ofwboot.elf
> and one kernel, which should be updated during build.

Ok, so this differs from both sparc64 and sgimips significantly. Now, what is
the purpose of the change starting this thread if it only does the minor step
but leaves out the complex one that realy fits well into makefs?


Home | Main Index | Thread Index | Old Index