Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2012 07:47:01 +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.1207090744480.23075@wojtek.tensor.gdynia.pl>
In-Reply-To: <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com>
References:  <47.B3.06836.B9F4AFF4@smtp02.insight.synacor.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> file system" (as you said without partitions, and I'll take
>> that literally): You can use tar, "the universal file system
>> that isn't a file system" to write data to the USB stick.
>

which is best in USB pendrive wear and speed point of view.

pendrive's flash translation layers are just awful, only linear writes 
works well.

>> Writing stuff:
>
>>         # tar cf /dev/da0 /my/files

i would recomment

tar -b 128 -cf /dev/da0 /my/files

> Might
> # tar xf /dev/da0
> work in other BSDs or even other (quasi-)Unixes including Linux, using the appropriate device name where applicable in place of da0?

yes it will run fine under linux, openbsd, netbsd, slowlaris etc.

>
> While that particular construst could probably not be booted, it is possible to boot from a floppy or image file that does not contain a file system.

If you need bootable pendrive then you have to use disklabel and make 
filesystem.




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