Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2012 09:49:30 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Thomas Mueller <mueller23@insightbb.com>
Cc:        Carmel <carmel_ny@hotmail.com>, Polytropon <freebsd@edvax.de>, freebsd-questions@freebsd.org
Subject:   Re: Format a USB flash drive using gpart
Message-ID:  <alpine.BSF.2.00.1207080947470.1560@wojtek.tensor.gdynia.pl>
In-Reply-To: <7E.91.25131.DEDA8FF4@smtp01.insight.synacor.com>
References:  <7E.91.25131.DEDA8FF4@smtp01.insight.synacor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> Magdeburg, Germany
>
> I have used gpart to partition a USB flash drive into FreeBSD boot partition, root partition and swap partition.

making swap partition on USB pendrive is at least stupid. if you won't 
swap at all - wasted space.
If you will it would be so slow and wear USB pendrive so quickly that you 
certainly don't want this.


bsdlabel -w device

bsdabel -e  device and make "a" partition start from 0 to end, 4.2BSD

newfs it

bsdlabel -B

and put everything in one partition.

make heavy use of tmpfs, make sure noatime is put in fstab to limit writes 
to pendrive.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1207080947470.1560>