From owner-freebsd-questions@freebsd.org Mon Aug 3 22:37:48 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 645D49B2C58 for ; Mon, 3 Aug 2015 22:37:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DEF5D0A for ; Mon, 3 Aug 2015 22:37:47 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-150-34.dynamic.qsc.de [92.195.150.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id E99B83CD85; Tue, 4 Aug 2015 00:30:57 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t73MUu8J002098; Tue, 4 Aug 2015 00:30:57 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 4 Aug 2015 00:30:56 +0200 From: Polytropon To: Bernt Hansson Cc: "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> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 22:37:48 -0000 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, ...