Re: How to doc available?

2009-07-27 Thread Mikel King


On Jul 27, 2009, at 7:05 PM, Chris Rees wrote:


2009/7/27 Mikel King :
Anyone know of a good tutorial for making a system on a USB key in  
limited
space? I have a project that requires enough of running system with  
lighttpd
and php5 to do some network magick. I would like to keep the thing  
below
512MB but if that is not feasible then I'll shoot for whatever the  
smallest

I can get away with.

Thanks, in advance.

Cheers.
m



I'm going to try to answer your question rather than tell you you're
wrong. It's possible, and not difficult.

Option 1) I'm pretty sure a default install of FreeBSD covers a little
less than 640 MB; have you just tried that?

[ch...@amnesiac]/usr% df -h /
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a421M203M185M52%/
[ch...@amnesiac]/usr% du -hc /boot/xboxkern.0/
112M/boot/xboxkern.0/
112Mtotal
[ch...@amnesiac]/usr% du -hc bin include lib sbin share games libdata



292Mshare/doc



428Mtotal
[ch...@amnesiac]/usr%

So, excluding /usr/share/doc, and /boot/xboxkern.0 (a leftover from
when amnesiac was an xbox), my install with no ports etc is
~203-112=91MB for /, 428-292=136MB for /usr, plus /var and /tmp (both
minimal if properly managed and trimmed) makes <~250 MB; way less than
the 500 MB specified. You could probably even install Apache on that!

If I've missed anything glaringly obvious, please correct me  
someone


Option 2) Try http://www.freebsd.org/doc/en/articles/nanobsd/ 
index.html


Chris




Chris,

Thank you for your detailed answer. Most appreciated as is the URL to  
nanobsd so that I can RTFM...


Cheers,
m!

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to doc available?

2009-07-27 Thread Chris Rees
2009/7/27 Mikel King :
> Anyone know of a good tutorial for making a system on a USB key in limited
> space? I have a project that requires enough of running system with lighttpd
> and php5 to do some network magick. I would like to keep the thing below
> 512MB but if that is not feasible then I'll shoot for whatever the smallest
> I can get away with.
>
> Thanks, in advance.
>
> Cheers.
> m
>

I'm going to try to answer your question rather than tell you you're
wrong. It's possible, and not difficult.

Option 1) I'm pretty sure a default install of FreeBSD covers a little
less than 640 MB; have you just tried that?

[ch...@amnesiac]/usr% df -h /
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad0s1a421M203M185M52%/
[ch...@amnesiac]/usr% du -hc /boot/xboxkern.0/
112M/boot/xboxkern.0/
112Mtotal
[ch...@amnesiac]/usr% du -hc bin include lib sbin share games libdata



292Mshare/doc



428Mtotal
[ch...@amnesiac]/usr%

So, excluding /usr/share/doc, and /boot/xboxkern.0 (a leftover from
when amnesiac was an xbox), my install with no ports etc is
~203-112=91MB for /, 428-292=136MB for /usr, plus /var and /tmp (both
minimal if properly managed and trimmed) makes <~250 MB; way less than
the 500 MB specified. You could probably even install Apache on that!

If I've missed anything glaringly obvious, please correct me someone

Option 2) Try http://www.freebsd.org/doc/en/articles/nanobsd/index.html

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to doc available?

2009-07-27 Thread David Kelly
On Mon, Jul 27, 2009 at 03:19:17PM -0400, Mikel King wrote:
> Anyone know of a good tutorial for making a system on a USB key in
> limited space? I have a project that requires enough of running system
> with lighttpd and php5 to do some network magick. I would like to keep
> the thing below 512MB but if that is not feasible then I'll shoot for
> whatever the smallest I can get away with.

Have you tried it yet? Once Upon A Time Not So Long Ago, 512MB was a
*huge* system disk.

And as others have pointed out much larger USB stick is cheap. So how
many hours are you willing to spend to save $12?

-- 
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to doc available?

2009-07-27 Thread Mikel King


On Jul 27, 2009, at 4:00 PM, Sergio de Almeida Lenzi wrote:


excuse-me, but what is the problem
with size???

I have a PQI stick that is 29mm X 11mm X 2.5mm and
have 4gbytes... and works very good... sells for US$12 here...

take a look:
http://www.pqigroup.com/product2.asp?oid=19&cate1=19&proid=333

you have inside 4Bg of storage..   usb2.0



The problem is that my client has mandated that it be below 640MB so I  
can not, as much as I would prefer, use a 4GB stick.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: How to doc available?

2009-07-27 Thread Sergio de Almeida Lenzi
excuse-me, but what is the problem
with size???

I have a PQI stick that is 29mm X 11mm X 2.5mm and
have 4gbytes... and works very good... sells for US$12 here...

take a look: 
http://www.pqigroup.com/product2.asp?oid=19&cate1=19&proid=333

you have inside 4Bg of storage..   usb2.0  



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


How to doc available?

2009-07-27 Thread Mikel King
Anyone know of a good tutorial for making a system on a USB key in  
limited space? I have a project that requires enough of running system  
with lighttpd and php5 to do some network magick. I would like to keep  
the thing below 512MB but if that is not feasible then I'll shoot for  
whatever the smallest I can get away with.


Thanks, in advance.

Cheers.
m

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"