From owner-freebsd-questions@FreeBSD.ORG Tue Aug 4 06:00:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 753211065672 for ; Tue, 4 Aug 2009 06:00:45 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from mail-pz0-f174.google.com (mail-pz0-f174.google.com [209.85.222.174]) by mx1.freebsd.org (Postfix) with ESMTP id 478378FC1E for ; Tue, 4 Aug 2009 06:00:44 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: by pzk4 with SMTP id 4so2904065pzk.7 for ; Mon, 03 Aug 2009 23:00:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3YK7TYEBeJDbr/JSD0Sg6IrMzyjxTJ+oh5ZAOrEDb64=; b=guHIAZfLyJWGA9Ixb2pGcvDSANdTIug8mxJmBl6PydetrrLb27NoTJrj10nhGmI0Mq v+K2eghrzR11EB6u/jGAlJ5mIgf728uV+Ra42UKWI2gtTsG0mIP2MXPOWILOA4pZ7xXH SuXcWwgYKkDZm8/qlPLy2ic0dewCuDxxE50vI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XtTKfSzpwogebtLuupmkSHf8C3dZooYPoa5NqYQPSukk7Kj4W8maULKeobPgB1+frg PRy4sabX4Q9pdAm695RbrIa20kgvLhF3oZYiG9f7eidV2t1N1QRCcqrN2P3/VCzf724f VAY4UgtQgg5dh5TBC66P96mgt8moH2r21w3jo= MIME-Version: 1.0 Received: by 10.142.231.15 with SMTP id d15mr690059wfh.60.1249365644662; Mon, 03 Aug 2009 23:00:44 -0700 (PDT) In-Reply-To: <20090803214425.58580308.freebsd@edvax.de> References: <2daa8b4e0908011421x3142425fm69eef6df8ebf4309@mail.gmail.com> <20090803214425.58580308.freebsd@edvax.de> Date: Mon, 3 Aug 2009 23:00:44 -0700 Message-ID: <2daa8b4e0908032300m3ae4be7ft9a42445ddda17197@mail.gmail.com> From: David Allen To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Manual Installations on Flash Media X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 06:00:46 -0000 On 8/3/09, Polytropon wrote: > On Sat, 1 Aug 2009 14:21:02 -0700, David Allen > wrote: > > I need to create a FreeBSD installation on an SSD drive (connected via > > a USB adaptor), and would like to do so manually so as to avoid the > > use of an installation CD, PXE or sysinstall. > > > > 1. Would a device alphabetical order (as used by bsdlabel) work? > > I think it's no problem. My /etc/fstab looks that way: > > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1d /tmp ufs rw 2 2 > /dev/ad0s1e /var ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1g /home ufs rw 2 2 Knowing that will make things easier when editing the disklabel and adding corresponding entries in fstab. > > 2. I don't expect the system to swap, so can I dispense with a swap > > entry and have everything function normally (no error messages, etc.)? > > I don't know how to "expect" swapping. As far as I understood, the > system decides by itself if to write data to / read data from the swap > file. Something got lost in the translation. "I don't expect" is an idiomatic form of "I estimate a low probability of swapping". > I'm not sure if you can omit it. Haven't done an actual NanoBSD installation on flash, but my reading of the setup is that there is no swap partition whatsoever. Guess I'll have to experiment to find out for myself. > > 3. Will adding `noatime' to / or any other filesystem have any > > consequences? > > Yes. The access time for files won't be recorded. Using the noatime > option is often advised for the use with SSD media, so is ANY advice > that helps to minimize read / write cycles in order to increase the > life time of the media. Just wanted to be sure. I'm still open to using md devices for /var and /tmp (with a cron-ed sync to disk) possibly in conjunction with remote logging, but one of the reasons I opted for SSD over regular flash is to avoid that extra layer of complexity. Thanks for the reply.