9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] Atom upgrade
Date: Thu, 14 Feb 2013 09:29:57 -0500	[thread overview]
Message-ID: <267d4baa6305b9c719a1568551b105e8@coraid.com> (raw)
In-Reply-To: <511CED19.5080700@mail.com>

On Thu Feb 14 08:58:03 EST 2013, adriano.verardo@mail.com wrote:
> Hi, all.
>
> Is it possibile to upgrade the Atom distro likewise the Bell's one ?

hi, not really.  (working on it)  right now, mkfs makes a pretty good
substitute.  it knows enough not to copy older files.  the problem is
not stepping not overwriting running programs.

the straightforward way to do this is boot from cd and use mkfs
to copy from the cd.  you'll have to mount your fs by hand.

the complicated way is to create a ramfs to hide the executables
you're using and hopefully rio won't crash while you're doing this,
but basically  (just an example, i haven't debugged this)

	ramfs
	@{cd /bin; tar c .} | @{cd /tmp; tar x}	# all of it; we have the memory
	path=(/tmp)
	# cd /tmp				# not necessary; mkfs doesn't delete

	cdfs -d $mydev
	9660srv -f /mnt/cd/d000

	mount /srv/boot /n/boot
	# not sure if you want -p; -k is paranoia
	disk/mkfs -bkpvd /n/boot -s /n/d000 <{echo +}

- erik



  reply	other threads:[~2013-02-14 14:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14 13:56 Adriano Verardo
2013-02-14 14:29 ` erik quanstrom [this message]
2013-02-14 15:16   ` Adriano Verardo

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=267d4baa6305b9c719a1568551b105e8@coraid.com \
    --to=quanstro@labs.coraid.com \
    --cc=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).