Bug 52255 - [picobsd] picobsd build script fails under FreeBSD 5.0-RELEASE
Summary: [picobsd] picobsd build script fails under FreeBSD 5.0-RELEASE
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 5.0-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-embedded (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 00:40 UTC by Stacy Olivas
Modified: 2008-02-11 07:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stacy Olivas 2003-05-15 00:40:06 UTC
	Running the build script for PicoBSD found under /usr/src/release/picobsd/build/picobsd
        aborts with an error when it tried to pass a no longer supported parameter to the 
        newfs command.

Fix: 

apply the following patch the the picobsd build script under
	/usr/src/release/picobsd/build.  It fixes the problem.

4a5,7
> # Removed the newfs -p 0 parameter, since it's no longer supported
> # by newfs in FreeBSD 5.0 - S. Olivas
> #
539c542
<     newfs -i ${mfs_inodes} -m 0 -p 0 -o space -f 512 -b 4096 \
---
>     newfs -i ${mfs_inodes} -m 0 -o space -f 512 -b 4096 \
805c808
<     newfs -i ${fd_inodes} -m 0 -p 0 -o space -f 512 -b 4096 \
---
>     newfs -i ${fd_inodes} -m 0 -o space -f 512 -b 4096 \
How-To-Repeat: 	Run the picobsd build script against one of the supplied floppy types
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2003-10-11 07:59:11 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-small

Assign to -small mailing list in the absence of a picobsd maintainer
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2007-03-18 22:06:05 UTC
State Changed
From-To: open->feedback

Is this still a problem with recent versions of FreeBSD?
Comment 3 Volker 2008-02-10 15:47:40 UTC
the picobsd script has been rewritten recently and does not invoke
newfs directly anymore. It now uses sysutils/makefs for creating
filesystems.

This seems to obsolete this PR now.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2008-02-11 07:00:16 UTC
State Changed
From-To: feedback->closed

Feedback timeout (many months).  The audit-trail seems to suggest the 
affected system was rewritten long ago.