9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Kotsopoulos steve@ecf.toronto.edu
Subject: mkext vs. tar for custom install
Date: Tue, 19 Sep 1995 23:23:49 -0400	[thread overview]
Message-ID: <19950920032349.NrIavhTPXf4x8gSXhC6v_gJZ1xczeN4KDiYFNmgJ2Ug@z> (raw)

I'm getting ready to load the CDROM onto my new PC (kfs filesystem), and
I can't use c:/plan9/386/bin/build because I only have 400Meg in my Plan9
partition. I want to load everything except /mips, /sparc and /68020.

If I did this with tar, I'd try:
% {cd /n/cdrom; tar c 386 sys lib acme rc adm} | {cd /n/kfs; tar xv}

If I did it with mkfs, I'd try:
% disk/mkfs -a -s /n/cdrom /tmp/myproto |disk/mkext -uv -d/n/kfs

Which of the above would be the preferred method, and why?
Would they both set the ownerships and modification times properly?

By the way, the manpage for mkext(8) says the '-u' option can only be used
when initializing a new fs(f) file system, but I find the following 
in /sys/lib/pcdist/src/build.c, where it un-packs the 4 floppies:

       sprint(buf, "vdexpand < /n/a/disk%d.vd | disk/mkext -uv -d/n/kfs", disk);

Here, it is using a kfs file system with the '-u' option, in contradiction
to the restriction in the manpage.
Is the manpage out of date, or is build.c breaking the rules somehow?






             reply	other threads:[~1995-09-20  3:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-20  3:23 Steve [this message]
1995-09-20  7:49 forsyth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950920032349.NrIavhTPXf4x8gSXhC6v_gJZ1xczeN4KDiYFNmgJ2Ug@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).