9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de
To: 9fans@9fans.net
Subject: Re: [9fans] fossil option -m
Date: Sat, 18 Aug 2012 18:23:38 +0200	[thread overview]
Message-ID: <392e10f8bcb85579a63d3cbf3dd20311@rei2.9hal> (raw)
In-Reply-To: <0d222a32d99cd6e44274c7ca2367d08d@brasstown.quanstro.net>

term% cat /sys/src/9/port/bootfs.proto
$objtype
	bin
		9660srv
		awk
		aux
			kbdfs
		bind
		cat
		cfs
		cryptsetup
		dd
		disk
			fdisk
			kfs
			prep
		dossrv
		echo
		cwfs64x
		grep
		ip
			ipconfig
		ls
		mkdir
		mntgen
		mount
		mv
		hjfs
		rc
		rm
		sed
		sleep
		srv
		test
		unmount
		nusb
			usbd
			disk
			kb
		xd
rc
	lib
		rcmain
		local.rc 555 sys sys ../boot/local.rc
		net.rc 555 sys sys ../boot/net.rc
	bin
		fstype
		diskparts
		nusbrc 555 sys sys ../boot/nusbrc
		bootrc 555 sys sys ../boot/bootrc
tmp

the resulting bootfs.paq is 1.2 MB.

theres no reclaim. if init dies you get back to the bootrc
"bootargs" prompt.

for comparsion, drawing a 1024x768x32 rio window would be
like 3MB of precious kernel memory.

making fileservers idiomatic is a good idea. thats exactly
what i did with cwfs making it look like kfs. fossil/venti
is the only filesystem that requires special boot code.
(which does not matter in 9front as fossil was removed).

--
cinap



  reply	other threads:[~2012-08-18 16:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-18  5:03 arisawa
2012-08-18  5:30 ` erik quanstrom
2012-08-18  5:40   ` John Floren
2012-08-18 10:04     ` arisawa
2012-08-18 11:14       ` Richard Miller
2012-08-18 14:57       ` erik quanstrom
2012-08-18 16:23         ` cinap_lenrek [this message]
2012-08-18 17:11           ` erik quanstrom
2012-08-18 18:05             ` cinap_lenrek
2012-08-18 18:17               ` Richard Miller
2012-08-18 11:12   ` Richard Miller
2012-08-18 11:36     ` David du Colombier
2012-08-18 13:02       ` Richard Miller
2012-08-18 14:53         ` erik quanstrom
2012-08-19  9:04           ` David du Colombier
2012-08-19 15:04             ` erik quanstrom
2012-08-19 16:06               ` Bakul Shah
2012-08-19 16:08                 ` cinap_lenrek
2012-08-19 16:15                   ` Richard Miller
2012-08-19 16:17                 ` erik quanstrom
     [not found]   ` <CAL4LZyimqPZVQGmTDXzKBJsJNUaLsCEQBZz4qY8YSCb7pMkypA@mail.gmail.c>
2012-08-18 15:00     ` erik quanstrom
2012-08-18 15:18       ` erik quanstrom

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=392e10f8bcb85579a63d3cbf3dd20311@rei2.9hal \
    --to=cinap_lenrek@gmx.de \
    --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).