From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 08:15:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F92616A46B for ; Wed, 11 Jul 2007 08:15:05 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from szalbot.homedns.org (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3834313C457 for ; Wed, 11 Jul 2007 08:15:05 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from www by szalbot.homedns.org with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I8XLd-0000CM-W6 for freebsd-questions@freebsd.org; Wed, 11 Jul 2007 10:14:58 +0200 To: Freebsd questions X-PHP-Script: https://poczta.szalbot.homedns.org/index.php for 192.168.11.1 MIME-Version: 1.0 Date: Wed, 11 Jul 2007 10:14:57 +0200 From: Zbigniew Szalbot Message-ID: X-Sender: zbigniew@szalbot.homedns.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: finding the USB drive name, mounting and formatting 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: Wed, 11 Jul 2007 08:15:05 -0000 Hello, I have kernel compiled with USB support and I plugged in a USB drive: messages show this information: Jul 11 09:48:22 lists kernel: umass0: Myson Century, Inc. USB Mass Storage Device, rev 2.00/b0.07, addr 2 Jul 11 09:48:22 lists kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jul 11 09:48:22 lists kernel: da0: Fixed Direct Access SCSI-0 device Jul 11 09:48:22 lists kernel: da0: 1.000MB/s transfers Jul 11 09:48:22 lists kernel: da0: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) I created /mnt/usbck and would like to mount it there, then format it as it uses msdos file system (FAT). How do I determine the name of the drive is my first problem. It is not da0, it is? What is the command to check it? I mean I think it is not da0 because da0 timestamp is a few days old. I guess I need something like that: mount -t msdosfs /dev/??? /mnt/usbck Once I have it there, what is the best way to format this drive (I would like to use it for backup with FBSD file system)? Thank you very much in advance! Zbigniew Szalbot