Fix make release for 4-STABLE

Ruslan Ermilov ru at freebsd.org
Tue Jan 20 00:40:26 PST 2004


On Tue, Jan 20, 2004 at 01:43:42AM +0000, Colin Percival wrote:
> At 10:28 19/01/2004, Ruslan Ermilov wrote:
> >On Mon, Jan 19, 2004 at 09:47:45AM +0000, Colin Percival wrote:
> >>   I've already mentioned this to re@, but if there's a real need
> >> for space-saving, using NetBSD's makefs (ports/sysutils/makefs)
> >>
> >Cool!  At a glance it looks like what we need to fully support
> >cross-arch releases, as it supports different byte-ordering.
> 
>   That's what NetBSD uses it for. :)
> 
> >It could also be used to get us closer to "fixing" release/ to not
> >require "root" privileges -- it could be a very useful feature for
> >developers with non-root access on fast machine.  ;)
> 
>   Not really -- `make release` needs to chroot, and non-root users
> can't do that.
> 
I know, that's why I wrote "get us closer".  ;-)

Still, the idea is to implement the "developer" mode "make release"
that wouldn't require root privileges, and file system creation is
the biggest show stopper.

> >> saves about 23k on the mfsroot floppy.
> >>
> >I wonder if this 23k difference is on 5-CURRENT or 4-STABLE, or both?
> >If it is on 5-CURRENT only, does the following patch for FreeBSD's
> >newfs(8) make any difference:
> >[snip]
> >If you don't bite me, I will try it myself.  ;)
> 
>   You'd better try it yourself -- I don't have convenient access to
> a machine for release-building right now.
> 
> >Also, it would be nice to backport it to FreeBSD.
> 
>   Isn't the port good enough?  Many people seem to have an urge to
> add stuff into base, but all that does is create more work.
> 
I somehow don't like the idea to use ports stuff to build src/
bits, so if we decide to switch to using it, it gets probably
contributed to src/ anyway.

> >  And I suspect
> >it doesn't work with UFS2, does it?  (We don't need it for releases
> >presently, but anyway.)
> 
>   It does: makefs -o version=2 foo.img /path/to/files/
> 
Cool!


Cheers,
-- 
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040120/b9241fb9/attachment.bin


More information about the freebsd-stable mailing list