[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP: diskless for NFS-ROOT tree structures.



On Mon, Jun 14, 1999 at 02:21:04AM -0400, aaron .'. culich wrote:
> Moving to something more standard like m4 (ugly as it may be), is
> probably a good idea.  If you'd like a hand with the conversion, I've
> done a fair amount of m4 hacking (i currently have my web pages
> automatically generated with m4 and make/automake/autoconf).

Thats what I thought. Probably the best you could help would be as
follows (I don't know if this is possible, but assuming it is):

I need a perl subroutine that will take a list of m4 files (upto 4), and
output them into the specified output file. Such an operation doesn't
need to be atomic, as my program currently saves the output to a temp
file before renaming it.

However, if m4 returns with any output written to STDERR, the perl
function should return with a non-succesful status (eg 0). There are
so many files that have to be converted, it would be irratating if
the diskless system was broken because you never noticed a serious
error scroll off the top of the screen (plus the display is rather
verbose...).

> If you want to make the .debs available somewhere I can grab them
> before they're loaded on the public archives I can take a look at 'em
> and send some patch files your way.

Have a look in:

http://snoopy.apana.org.au/~ftp/debian/diskless/

I think I am ok for doing the M4 conversion (maybe!). So far the idea
is that the following files are used for configuration (ie read before
actual source)

/usr/lib/diskless/diskless.m4 
/var/lib/diskless/<group>/.config.m4
/var/lib/diskless/<group>/<ipaddress>/.config.m4

(If I do go to M4, and judging from the response so far, I probably
will, this will break all existing files that use my MBP format - so 
if you use MBP, be warned!)

On Mon, Jun 14, 1999 at 05:23:45PM +0100, Russell Coker wrote:
> On Mon, 14 Jun 1999, Brian May wrote:
> >>Hello all,
> >
> >I have previously posted this, but now I am an official Debian
> >maintainer (well... mostly), I thought I should repost a formal ITP -
> >Intentions to Takeover Planet ;-).
> 
> Please do so.  I think that you will make a good planetary ruler!

Tomorrow diskless, the next day the planet ;-)

> >It doesn't return an error code when something serious goes wrong.
> >Should I file a bug against m4?
> 
> Well there doesn't seem to be anything in the documentation indicating that it
> will return non-zero at any time other than when you use M4exit().  So I guess
> it wouldn't be considered a bug but a missing feature.

So I probably should file a wishlist bug against M4?

On Mon, Jun 14, 1999 at 07:05:45PM -0500, Steve Przepiora wrote:
> I'd be happy to help test this, currently I have 3 diskless stations.

See the above URL (and warning notice ;-) ).

Do you use slink or potato? In particular, I haven't been able to test
on potato, and haven't configured any mailer other then the ones in this
list: {qmail}. (!!!)


-- 
Brian May <bam@snoopy.apana.org.au>

Attachment: pgp4E6gsJyRqK.pgp
Description: PGP signature


Reply to: