Re: [muTech] Allocating ramdisks

From: Michele Andreoli ([email protected])
Date: Mon Jun 19 2000 - 18:16:10 CEST


On Mon, Jun 19, 2000 at 04:17:45PM +0200, Jef Knoors nicely wrote:
> >
> What if.....
> Can we use a little bit of the diskspace to store the *.cnf and *.fun ?
> For example the bootsector, mount the disk, read the first sectors and get
> the mountpoint.
> I don't know if that is a possiblity, but it sounds good to me.

It possible, using simply dd: an addon disk should contains a
little head with a 10K (for example) of info; real addons in the
following space.

# dd if=/dev/fd0H1722 bs=1k count=10 | (cd /setup; tar -xf-)
# show to user /setup info, like addon's content, etc
# dd if=/dev/fd0H1722 bs=1k skip=10 | (cd /; tar -xf-)

The drawback: the addons disk finish to be a true archive.

Michele

-- 
I'd like to conclude with a positive statement, but I can't 
remember any. Would two negative ones do?       -- Woody Allen
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:15 CET