9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] iso?
@ 2003-02-16 17:03 Sam
  2003-02-16 17:22 ` Dan Cross
  0 siblings, 1 reply; 5+ messages in thread
From: Sam @ 2003-02-16 17:03 UTC (permalink / raw)
  To: 9fans

I'm looking at installing tex and having mounted
/n/sources I see it's a .iso.bz2.  What should
I do with the iso to get the sources mounted
at /sys/src/cmd/tex, or, how do most people handle
the isos?

Cheers,

Sam




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] iso?
  2003-02-16 17:03 [9fans] iso? Sam
@ 2003-02-16 17:22 ` Dan Cross
  2003-02-16 17:38   ` Sam
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Cross @ 2003-02-16 17:22 UTC (permalink / raw)
  To: 9fans

> I'm looking at installing tex and having mounted
> /n/sources I see it's a .iso.bz2.  What should
> I do with the iso to get the sources mounted
> at /sys/src/cmd/tex, or, how do most people handle
> the isos?

You've got to bunzip2 the compressed ISO image, mount it, and
install it using replica/pull.

term% bunzip2 < /n/sources/extra/tex.iso.bz2 > /someplace/big/tex.iso
term% 9660srv
term% mount /srv/9660 /n/dist /someplace/big/tex.iso

The install files will then be under /n/dist.  You probably need to
do something like run a script to touch the replica db and log files,
and then run pull.  There's usually a README file inside the ISO
that gives you exact instructions.

If you're installing into a KFS, you shouldn't have any problems.
If you're installing onto a fileserver, you'll need to modify the
replica configuration file.  That's the sort of thing I want
/dist/replica/site for to be included in replica config files
for.

	- Dan C.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] iso?
  2003-02-16 17:22 ` Dan Cross
@ 2003-02-16 17:38   ` Sam
  2003-02-16 17:46     ` Dan Cross
  0 siblings, 1 reply; 5+ messages in thread
From: Sam @ 2003-02-16 17:38 UTC (permalink / raw)
  To: 9fans

I kinda figured this was the procedure.  Unzipping
it to mount it, install, and eventually remove the
iso just seemed like a waste.  Is there any reason
we bz2 the iso on sources?  Does the compression
level warrant losing the ability to mount
the iso directly from sources, or is that just a
fundamentally bad idea?

Sam

On Sun, 16 Feb 2003, Dan Cross wrote:

> > I'm looking at installing tex and having mounted
> > /n/sources I see it's a .iso.bz2.  What should
> > I do with the iso to get the sources mounted
> > at /sys/src/cmd/tex, or, how do most people handle
> > the isos?
>
> You've got to bunzip2 the compressed ISO image, mount it, and
> install it using replica/pull.
>
> term% bunzip2 < /n/sources/extra/tex.iso.bz2 > /someplace/big/tex.iso
> term% 9660srv
> term% mount /srv/9660 /n/dist /someplace/big/tex.iso
>
> The install files will then be under /n/dist.  You probably need to
> do something like run a script to touch the replica db and log files,
> and then run pull.  There's usually a README file inside the ISO
> that gives you exact instructions.
>
> If you're installing into a KFS, you shouldn't have any problems.
> If you're installing onto a fileserver, you'll need to modify the
> replica configuration file.  That's the sort of thing I want
> /dist/replica/site for to be included in replica config files
> for.
>
> 	- Dan C.
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] iso?
  2003-02-16 17:38   ` Sam
@ 2003-02-16 17:46     ` Dan Cross
  2003-02-16 18:16       ` Russ Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Cross @ 2003-02-16 17:46 UTC (permalink / raw)
  To: 9fans

> I kinda figured this was the procedure.  Unzipping
> it to mount it, install, and eventually remove the
> iso just seemed like a waste.  Is there any reason
> we bz2 the iso on sources?  Does the compression
> level warrant losing the ability to mount
> the iso directly from sources, or is that just a
> fundamentally bad idea?

I don't know; Russ can speak to that I'm sure.  Off the top of my head,
it does seem that without compression, the iso files would be really
too big to be managable (tex.iso is well over 100 MB, if I recall
correctly).  If people were mounting them directly off of sources, that
would also add a lot of traffic to sources (and the MH Internet link).
I don't know if that's the real reason though.

	- Dan C.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] iso?
  2003-02-16 17:46     ` Dan Cross
@ 2003-02-16 18:16       ` Russ Cox
  0 siblings, 0 replies; 5+ messages in thread
From: Russ Cox @ 2003-02-16 18:16 UTC (permalink / raw)
  To: 9fans

The main reason they're bzipped is that they used
to be available only via the web page, and compression
is a no-brainer then.

Given the latency of most connections to sources,
my guess is that you get an enormous saving in time
by downloading it compressed and then dealing with
a local file system.  But maybe not.

In any case, there should be a script to do an install
for you.

Russ



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-02-16 18:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-16 17:03 [9fans] iso? Sam
2003-02-16 17:22 ` Dan Cross
2003-02-16 17:38   ` Sam
2003-02-16 17:46     ` Dan Cross
2003-02-16 18:16       ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).