Date: Mon, 03 Aug 2015 17:30:26 -0600 From: jd1008 <jd1008@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: USB stick and some help with it. Message-ID: <55BFF992.6010309@gmail.com> In-Reply-To: <20150804003056.094ffc57.freebsd@edvax.de> References: <55BF6AA0.2030802@bananmonarki.se> <20150804003056.094ffc57.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/03/2015 04:30 PM, Polytropon wrote: > On Mon, 03 Aug 2015 15:20:32 +0200, Bernt Hansson wrote: >> Is it possible to make it pristine again or is it forever lost? > What about the Q&D way of > > # newfs /dev/da1 > > to initialize a new UFS file system (without slicing and/or > partitioning, no matter if MBR or GPT) and then simply try > > # mount -t ufs /dev/da1 /mnt > > and check if it works? > > Keep in mind you can - after you've verified this works - > use tunefs to optimize UFS for use on USB sticks (optimization > selection for speed or space, reserved space, and consider > mount options like async/noasync or atime/noatime, depending > on your intended use). > > See "man newfs", "man tunefs" and "man mount" for details. > > > > Since a CD or DVD iso was dd'ed to this stick, OS thinks it IS an optical ROM device - and thus not writable. Same issue happened to me and fixed the stick by using a linux pc to dd /dev/zero into the stick.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55BFF992.6010309>