Date: Tue, 28 Jul 2009 00:05:22 +0100 From: Chris Rees <utisoft@googlemail.com> To: Mikel King <mikel.king@olivent.com> Cc: freebsd-questions <questions@freebsd.org> Subject: Re: How to doc available? Message-ID: <b79ecaef0907271605l29775c0epc92c5833aee3a780@mail.gmail.com> In-Reply-To: <BCDE5738-67AE-4C32-B6C9-991D0939B1DF@olivent.com> References: <4A67EC78.1090304@a1poweruser.com> <1248355625.17716.7.camel@localhost> <e277d6c80907231815v4fd558b8if8576a738152206d@mail.gmail.com> <4A6A96E5.6090900@a1poweruser.com> <4A6DF24F.30008@hdk5.net> <BCDE5738-67AE-4C32-B6C9-991D0939B1DF@olivent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/27 Mikel King <mikel.king@olivent.com>: > 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? [chris@amnesiac]/usr% df -h / Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 421M 203M 185M 52% / [chris@amnesiac]/usr% du -hc /boot/xboxkern.0/ 112M /boot/xboxkern.0/ 112M total [chris@amnesiac]/usr% du -hc bin include lib sbin share games libdata <snip> 292M share/doc <snip> 428M total [chris@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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0907271605l29775c0epc92c5833aee3a780>