From owner-freebsd-questions@FreeBSD.ORG Fri Dec 12 12:56:09 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B76BD106564A for ; Fri, 12 Dec 2008 12:56:09 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3F4348FC16 for ; Fri, 12 Dec 2008 12:56:08 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1400656fkk.11 for ; Fri, 12 Dec 2008 04:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=+TekCwIGeHIP8i7vmLfh/CxjJlLyH8KHIZYE2ionqTw=; b=IeIUjr4Z1gRScVm4enJnvOxiRKA3cUM5oF5wqA1dXSe2cSOAWbjLxq6f4Nnp/OQhZa aSDk+7v2G1FRfc7u+mjoMeZpLrhB/DdpOs1PHoo5qgziNWP0Qh5CpyCoabEHr+tR/j98 DssX7CIMHsT28czDwS2OBLs9vUTslfTEm73tU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=AvZlTSe2tM3YcUICARWa6rVSbonpWYUReqa6GhV60NjxoS/1U9RjzvEphCjC9Q8HJn 54ivI0YZWfGCG45IqwZw6HVaCAt6MvbxvSx007ZOpTx3qAJ5rvPMxv6Lj7FhA+8c1BXg 51u0432wu436FwXwlqmlz6MC8ojcYqz1mXUfk= Received: by 10.223.116.10 with SMTP id k10mr4093139faq.100.1229085188458; Fri, 12 Dec 2008 04:33:08 -0800 (PST) Received: by 10.223.103.206 with HTTP; Fri, 12 Dec 2008 04:33:08 -0800 (PST) Message-ID: <991123400812120433r51a01226k90bc6e36b2ec0a19@mail.gmail.com> Date: Fri, 12 Dec 2008 15:33:08 +0300 From: "Odhiambo Washington" To: "Manolis Kiagias" In-Reply-To: <494246DE.1070203@gmail.com> MIME-Version: 1.0 References: <494227E1.6000406@fixer.com> <494246DE.1070203@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: fixer , questions@freebsd.org Subject: Re: USB Flash Drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 12:56:09 -0000 On Fri, Dec 12, 2008 at 2:11 PM, Manolis Kiagias wrote: > fixer wrote: > >> FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 >> UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >> localhost# >> >> >> I just discovered flash drives. They are very easy to use on Windows. >> I don't know if FreeBSD supports these drives. But if FreeBSD does, >> I need instructions on "how-to-use". Thanks in advance for anyone who can >> help. >> >> Bruce >> > > Have a look at these: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html > > Generally speaking, using an ms-dos (fat/fat32) formatted flash drive is as > simple as this: > > - plug > - get device name (probably da0) with dmesg |tail > - mount as root in /mnt: mount -t msdofs /dev/da0s1 /mnt > - Copy / move files etc > - umount /mnt > - unplug > > If you read the handbook section, you will also be able to setup your > system for user mounting, so you won't have to mount as root. > Another useful piece of info is this: > > http://www.freebsd.org/gnome/docs/halfaq.html > > With these instructions you can configure automounting in GUIs like Gnome > (and XFCE and possibly others, as long as HAL is used) > Bear in mind that no matter how you mounted the device, you will have to > unmount it before physically removing it, otherwise you are in for a nasty > surprise... Just to add .... beastie-6# less /usr/ports/sysutils/automounter/pkg-descr A script to dynamically configure amd and populate /media with appropriate links, when USB mass storage devices appear. It relies on geom labels, hence it only works for properly labeled devices. It also allows to automatically attach geli encrypted devices and images with keys polled from file systems it makes mountable. WWW: http://sourceforge.net/projects/bsdadminscripts/ -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Okay guys. This is Kenya. You pay taxes because you feel philanthropic, unlike our MPs!" -- Kenneth Marende, Speaker, 10th Parilament.