From owner-freebsd-small Thu Mar 30 9:33: 9 2000 Delivered-To: freebsd-small@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 3390D37B56A for ; Thu, 30 Mar 2000 09:33:03 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id TAA39489; Thu, 30 Mar 2000 19:33:32 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200003301733.TAA39489@info.iet.unipi.it> Subject: Re: PicoBSD Stuff In-Reply-To: from Omachonu Ogali at "Mar 30, 2000 12:02:08 pm" To: Omachonu Ogali Date: Thu, 30 Mar 2000 19:33:32 +0200 (CEST) Cc: freebsd-small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > It's been a while (2 weeks) since I touched PicoBSD, here's a patch I > whipped up so the 'build' script doesn't clobber the first vinum device > and '/mnt'. I'm finally cvsup'ing today so I may spit out a few more > e-mails later. ... > echo "Error while labeling ${MFS_NAME} size ${MFS_SIZE}" > + umount ${MFS_MOUNTPOINT} 2> /dev/null || true > + rm -rf ${MFS_MOUNTPOINT} 2> /dev/null || true maybe you can condense all these cleanup actions at the end of the case statement ? cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message