Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2015 00:30:56 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: USB stick and some help with it.
Message-ID:  <20150804003056.094ffc57.freebsd@edvax.de>
In-Reply-To: <55BF6AA0.2030802@bananmonarki.se>
References:  <55BF6AA0.2030802@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150804003056.094ffc57.freebsd>