NetBSD Problem Report #16175

Received: (qmail 18164 invoked from network); 3 Apr 2002 04:46:51 -0000
Message-Id: <20020403044651.7BF227D2D@yeah-baby.shagadelic.org>
Date: Tue,  2 Apr 2002 20:46:51 -0800 (PST)
From: thorpej@shagadelic.org
Reply-To: thorpej@shagadelic.org
To: gnats-bugs@gnats.netbsd.org
Subject: No newfs_ext2fs in the tree
X-Send-Pr-Version: 3.95

>Number:         16175
>Category:       bin
>Synopsis:       No newfs_ext2fs in the tree
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tsutsui
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 03 04:47:00 +0000 2002
>Closed-Date:    Sat Nov 17 17:07:51 +0000 2007
>Last-Modified:  Sat Nov 17 17:07:51 +0000 2007
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.5ZC
>Organization:
Wasabi Systems, Inc.
>Environment:


System: NetBSD netwinder.slow-10.shagadelic.org 1.5ZC NetBSD 1.5ZC (GENERIC) #12: Tue Apr  2 19:46:27 PST 2002     thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/netwinder/compile/GENERIC netwinder
Architecture: arm
Machine: netwinder
>Description:
	There are no tools provided with the NetBSD OS to create
	ext2fs file systems.  We have at least one port (netwinder)
	which requires ext2fs, as the firmware loads kernels from
	an ext2fs.

	We must have in-tree tools for creating ext2fs file systems,
	otherwise we cannot provide real working installation tools
	for that port.

>How-To-Repeat:
	Code inspection.

>Fix:
	Not provided.
>Release-Note:
>Audit-Trail:

From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
To: thorpej@shagadelic.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/16175: No newfs_ext2fs in the tree
Date: Wed, 3 Apr 2002 10:57:19 +0200 (MEST)

 On Tue, 2 Apr 2002 thorpej@shagadelic.org wrote:
 > 	We must have in-tree tools for creating ext2fs file systems,
 > 	otherwise we cannot provide real working installation tools
 > 	for that port.

 No help, but some data points:

 The cobalt port does so too. I was able to bootstrap a machine using
 what's in pkgsrc/sysutils/e2fsprogs. As that's GPL code, I asked the
 author if it was possible to re-license it under a BSD copyright so we
 could easily use the code, but he wasn't fond of that idea.


  - Hubert

 -- 
 Want to get a clue on IPv6 but don't know where to start? Try this:
 * Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
 * Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html 
 Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/

Responsible-Changed-From-To: bin-bug-people->tsutsui
Responsible-Changed-By: tsutsui@netbsd.org
Responsible-Changed-When: Tue, 13 Nov 2007 21:07:47 +0900
Responsible-Changed-Why:
I'm working on this one (in my spare time).


From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/16175 CVS commit: src/sbin/newfs_ext2fs
Date: Sat, 17 Nov 2007 16:50:27 +0000 (UTC)

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sat Nov 17 16:50:27 UTC 2007

 Added Files:
 	src/sbin/newfs_ext2fs: Makefile extern.h mke2fs.c newfs_ext2fs.8
 	    newfs_ext2fs.c

 Log Message:
 Add a dumb but BSD-licensed newfs_ext2fs(8) command.
 This is based on the newfs(8) command for ffs, but
 most ext2fs specific part is written from scratch.

 Tested on alpha, cobalt, i386 and sgimips with some disks and vnd(4),
 and at least cobalt's firmware can load boot files from an ext2fs
 E2FS_REV0 partition created by this native newfs_ext2fs(8) command.

 Closes PR bin/16175.


 To generate a diff of this commit:
 cvs rdiff -r0 -r1.1 src/sbin/newfs_ext2fs/Makefile \
     src/sbin/newfs_ext2fs/extern.h src/sbin/newfs_ext2fs/mke2fs.c \
     src/sbin/newfs_ext2fs/newfs_ext2fs.8 src/sbin/newfs_ext2fs/newfs_ext2fs.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: tsutsui@netbsd.org
State-Changed-When: Sun, 18 Nov 2007 02:07:51 +0900
State-Changed-Why:
Finally we've got it.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.49 2026/05/14 01:52:41 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.