AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070329112708.7e1de77e@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>,<warren.gale@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E03112213@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 29 Mar 2007 11:28:32 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Brian Stark" <brian.stark@onstor.com>
Cc: "Warren Gale" <warren.gale@onstor.com>
Subject: Re: bobcat linux rises again
Message-ID: <20070329112832.1932bb01@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E03112213@onstor-exch02.onstor.net>
References: <20070328222518.230d1ab9@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E03112213@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Thu, 29 Mar 2007 11:19:35 -0700 "Brian Stark"
<brian.stark@onstor.com> wrote:

> Andy,
> 
> In looking at the current filesystem support in the PROM, I see the
> following in sm-pmondisk\filesystem.c:
> 
> struct fs_ops file_system[] = {
> 	{ ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat
> },
> };
> 
> These functions are in ufs.c, which looks to have been pulled directly
> from bsd (with some minor mods).  Are you looking for the equivalent
> support for ext2fs?  
> 
> It looks like bsd has support for ext2fs, so maybe we could pull the
> functions into the PROM in the same way as above?  I imagine we can
> also get them from Linux, but that may mean more changes to other
> files in sm-pmondisk.  It may also have implications with the whole
> Linux GPL thing.

There is no problem with GPL, as we would compile libext2 into our PROM,
it's LGPL.  I don't know how we put together the PROM, that's your guys
department.  But I can supply you with the source for libext2 which
should be all you need and probably pretty easy to integrate into the
prom code.  Also, support for standard DOS disk labels, which perhaps
is already in there, I don't know.

BTW, thanks to you and Warren for all your help so far, it's made all
the difference.  I'm still using the special prom printf routines to
this day.  Or at least, until before the 'crash'.

Cheers,

a

