From owner-freebsd-embedded@FreeBSD.ORG Mon Oct 20 11:06:49 2008 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E92F106567F for ; Mon, 20 Oct 2008 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA1F8FC23 for ; Mon, 20 Oct 2008 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id m9KB6nZp082618 for ; Mon, 20 Oct 2008 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id m9KB6mrm082614 for freebsd-embedded@FreeBSD.org; Mon, 20 Oct 2008 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Oct 2008 11:06:48 GMT Message-Id: <200810201106.m9KB6mrm082614@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2008 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/101228 embedded [nanobsd] [patch] Two more entries for FlashDevice.sub o misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c o misc/15876 embedded [picobsd] PicoBSD message of the day problems 4 problems total. From owner-freebsd-embedded@FreeBSD.ORG Sat Oct 25 11:52:30 2008 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6BA61065674 for ; Sat, 25 Oct 2008 11:52:30 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id 40CF58FC13 for ; Sat, 25 Oct 2008 11:52:29 +0000 (UTC) (envelope-from mah@jump-ing.de) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= mime-version:content-transfer-encoding:message-id:content-type: to:from:subject:date; q=dns/txt; s=beta; bh=1N3CPefQRN5V2SFVb8TK zdhG2EAvyG69LnKGSMN/8X0=; b=hUp9KkEjvatV/e1pKzy2CpF2x92Pn+gSs//a z+c4qpjR0Pp4AzpMC4+W/SR05RLoCP/POpr8BXSkkeLKwpZtZynXVtF7xtf69mXN M0EW+gDxmCfwxDIwQGJ7LU/jT+1CGIhOXb9uHW2BSRf//ty/WHPMeUij/nFXunhf V4OSuyE= Received: (qmail 32513 invoked from network); 25 Oct 2008 13:25:47 +0200 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@78.42.122.222) by mail.ud03.udmedia.de with ESMTPA; 25 Oct 2008 13:25:47 +0200 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <8DCB3D53-4C5E-43FD-A437-C551A36003DE@jump-ing.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-embedded@freebsd.org From: Markus Hitter Date: Sat, 25 Oct 2008 13:25:45 +0200 X-Mailer: Apple Mail (2.753.1) Subject: Fill a partition entirely X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2008 11:52:30 -0000 Hello all, recently I received such a GEODE-based diskless desktop PC and now I'm attepting to get a minimum system onto it using (a heftily tweaked) tinyBSD. The plan is to put a memory based, read-only root file system onto a pen drive and to use the remaining part of the pen drive for user data. In principle everything works, but when trying to optimise, I can't get this root file system to fill up to more tham about 60%, no matter how I set inode count, root reserved space and fragment size. This is the snippet for creating the partition: PART_ONE_SIZE=`du -s ${WORKDIR} | cut -f 1` # Fix: let PART_ONE_SIZE=${PART_ONE_SIZE}*2 LABELFILE=`mktemp -t tinybsd` echo "a: ${PART_ONE_SIZE} * 4.2BSD" > ${LABELFILE} echo "b: * * 4.2BSD" >> ${LABELFILE} bsdlabel -R -B /dev/${MD} ${LABELFILE} rm -f ${LABELFILE} newfs -m 0 -n /dev/${MD}a mount /dev/${MD}a ${IMGMNT} tar -C ${WORKDIR} -cf- --exclude kernel . | \ tar -C ${IMGMNT} -xf- For some reason I can't imagine, the later "tar" starts complaining "No space left on device" half the way and the situation ends up with ("df -i"): Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md1a 6778 4596 2182 68% 22 1000 2% /tmp/ tinybsd.HhlvvDXC To me, this doesn't look like "No space left on device" at all. What is missing here, how can I shrink the partition to just hold the needed files? Thanks, MarKus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/