Date: Fri, 30 Oct 1998 11:29:47 +0100 (CET) From: Andrzej Bialecki <abial@nask.pl> To: Christopher Hall <hsw@acm.org> Cc: small@FreeBSD.ORG Subject: Re: Out of inodes for custom build Message-ID: <Pine.BSF.4.02A.9810301125190.25890-100000@korin.warman.org.pl> In-Reply-To: <199810290857.QAA06031@hsw.generalresources.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Oct 1998, Christopher Hall wrote: > > Just tried to build a version of dial without ssh > and received an out of inodes message. > > I did "cp -Rp dial dial2"; edit out ssh stuff and > > ./build with custom, dial2. > > Just in case my edits were wrong I retried custom but entered > /usr/src/release/picobsd/dial ... Same message. > > If I choose 'n' at the main menu to build dial then it > builds the tree without getting this error. The number of inodes should probably be set up not in the stage1 script, but in some file specific to given setup, i.e. in ${TYPE}/ subdirs. As it is now, it's counter-intuitive... :-( > The only thing I can see that is different for custom is in stage1: > INODES=16000 > > dial gets INODES=4096 Yes, that's the culprit. > Perhaps the INODES should be settable for custom builds? Yes. > or is the a simple calculation for INODES from MFS size? No. It's chosen basing on experience. > Also when populate terminated with error the vn device is left mounted. > I can see there is some error trapping code in ./build to dismount > it. Hmmm.. This is intentional. Usually, you want it mounted to check what really failed. When you restart the build process, it's unmounted anyway. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- <abial@nask.pl> ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9810301125190.25890-100000>