Robert Swindells | 31 Jul 2007 18:57
Picon
Picon

FILECORE disklabels


Would anyone object to the following change to allow arm kernels to leave
out FILECORE disklabel support ?

It is a change I have had locally for a while now.

Robert Swindells

Index: files.filecorefs
===================================================================
RCS file: /cvsroot/src/sys/fs/filecorefs/files.filecorefs,v
retrieving revision 1.3
diff -u -r1.3 files.filecorefs
--- files.filecorefs	11 Dec 2005 12:24:25 -0000	1.3
+++ files.filecorefs	31 Jul 2007 16:46:58 -0000
 <at>  <at>  -1,6 +1,6  <at>  <at> 
 #	$NetBSD: files.filecorefs,v 1.3 2005/12/11 12:24:25 christos Exp $

-deffs	FILECORE
+deffs	fs_filecore.h			FILECORE

 file	fs/filecorefs/filecore_bmap.c	filecore
 file	fs/filecorefs/filecore_lookup.c	filecore
Index: disksubr.c
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/arm/disksubr.c,v
retrieving revision 1.17
diff -u -r1.17 disksubr.c
--- disksubr.c	29 Jul 2007 12:15:36 -0000	1.17
+++ disksubr.c	31 Jul 2007 16:49:32 -0000
(Continue reading)

Ben Harris | 1 Aug 2007 12:37
Picon

Re: FILECORE disklabels

On Tue, 31 Jul 2007, Robert Swindells wrote:

> Would anyone object to the following change to allow arm kernels to leave
> out FILECORE disklabel support ?
> 
> It is a change I have had locally for a while now.

The current situation, whereby all ARM platforms have FileCore boot block 
support, is clearly silly.  I don't think, though, that making it 
dependent on FILECORE is the right approach.  The ability to mount 
FileCore partitions should be independent of the ability to find 
non-FileCore partitions on shared disks.

A better approach (and one more in keeping with NetBSD's usual one) would 
be to only have support for FileCore boot blocks on those MACHINEs that 
natively run RISC OS, which would be acorn26, acorn32, and iyonix.

Eventually, this all wants to be beaten into the wedges framework, of 
course.

--

-- 
Ben Harris                                                   <bjh21 <at> NetBSD.org>
Portmaster, NetBSD/acorn26               <http://www.NetBSD.org/Ports/acorn26/>


Gmane