9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] accesing a local fossil
Date: Mon, 15 Aug 2005 18:26:00 +0100	[thread overview]
Message-ID: <666de0517e982a8cdbb3f45e0c278b16@quintile.net> (raw)
In-Reply-To: <000001c5a1a8$62471350$e000a8c0@OBLIVIONDT>

Hi,

> %fossil/fossil -f /dev/sdC0/fossil
> 
> then I listed /srv but there was no /srv/fossil entry there, so I could not
> mount.

This happens because the fossil config file burnt onto the start of the fossil
partition does not contain a srv command, it is passed on the command line when fossil
is envoked.

/sys/src/9/boot/local.c:256
	run("/boot/fossil", "-f", partition, "-c", "srv -A fboot", "-c", "srv -p fscons", 0);

You could start the bootable CDROM and then type:

	% fossil/fossil -f /dev/sdC0/fossil -c 'srv -APW open' -c 'srv -p fscons'
	% mount /srv/open /n/open

Your fossil filesystem should now appear in /n/open/active/ and all permission
checking will be turned off so you can fix anything you like.

It is definitely possible to boot using other boot managers, and you can even use
the NT/Win2k/XP boot manager though the installer only knows about FAT filesystems,
you will have to edit the files on NTFS partition by hand.

I suggest you check the 9fans archives there are several theads on this subject, E.G.
http://groups.google.com/group/comp.os.plan9/browse_frm/thread/8dbf0f7e64f51541

-Steve


  parent reply	other threads:[~2005-08-15 17:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15  9:16 [9fans] can acme clients (Wiki) access acme's clean/dirty status? Axel Belinfante
2005-08-15  9:34 ` Axel Belinfante
2005-08-15 14:37   ` [9fans] accesing a local fossil Ezequiel Reyes
2005-08-15 16:29     ` Federico Benavento
2005-08-15 16:32       ` Federico Benavento
2005-08-15 17:05         ` Ezequiel Reyes
2005-08-15 16:42     ` Christoph Lohmann
2005-08-15 19:09       ` Ezequiel Reyes
2005-08-15 19:20         ` Christoph Lohmann
2005-08-15 17:26     ` Steve Simon [this message]
2005-08-22 17:39       ` Ezequiel Reyes
2005-08-23  8:49         ` Robert Raschke
2005-08-23 16:48         ` Micah Stetson

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=666de0517e982a8cdbb3f45e0c278b16@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@cse.psu.edu \
    /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).