Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jun 2012 16:33:00 +0200
From:      rank1seeker@gmail.com
To:        "John Baldwin" <jhb@freebsd.org>, hackers@freebsd.org
Subject:   Re: CD bootcode
Message-ID:  <20120608.143300.329.2@DOMY-PC>
In-Reply-To: <201206071116.33215.jhb@freebsd.org>
References:  <20120606.161514.685.1@DOMY-PC> <201206070821.40068.jhb@freebsd.org> <20120607.135825.592.1@DOMY-PC> <201206071116.33215.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----

From: John Baldwin <jhb@freebsd.org>

To: rank1seeker@gmail.com

Cc: hackers@freebsd.org

Date: Thu, 7 Jun 2012 11:16:33 -0400

Subject: Re: CD bootcode



> On Thursday, June 07, 2012 9:58:25 am rank1seeker@gmail.com wrote:

> > ----- Original Message -----

> > From: John Baldwin <jhb@freebsd.org>

> > To: freebsd-hackers@freebsd.org

> > Cc: rank1seeker@gmail.com

> > Date: Thu, 7 Jun 2012 08:21:39 -0400

> > Subject: Re: CD bootcode



> > But even when loader is finally started, loader handles symlinks on UFS (kicked by '/boot/boot'), BUT fails so, on Rock-Ridge iso (kicked by 

> '/boot/cdboot')

> > Looks like loader must be made into looking at Rock-Ridge extensions.

> 

> It is src/lib/libstand/cd9660.c that would have to be patched.  It already has

> limited Rock-Ridge support, so adding symlink support to cd9660_open() may not

> be that hard to do.

> 

> -- 

> John Baldwin





Problem should be solved in 2 groups/steps.



First

-----

stage 2 boot '/boot/boot' AND '/boot/cdboot' shouldn't be made into working with symlinks.

Just leave them, the way they are. First one can be navigated to loader via 'boot.config' file.

So only '/boot/cdboot' should be edited, to react to the same 'boot.config' file as '/boot/boot' does.

Simply because they both target 'loader', 'boot.config' should work for both bootcodes.



Second

------

'loader' should be edited, to work with Rock-Ridge extensions.





Domagoj Smolčić



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120608.143300.329.2>