From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 08:52:13 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 CF6F916A41F for ; Wed, 11 Jul 2007 08:52:13 +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 8741513C447 for ; Wed, 11 Jul 2007 08:52:13 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from www by szalbot.homedns.org with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1I8Xvb-0000KD-HL; Wed, 11 Jul 2007 10:52:07 +0200 To: Manolis Kiagias 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:52:07 +0200 From: Zbigniew Szalbot In-Reply-To: <46949856.1040309@otenet.gr> References: <46949856.1040309@otenet.gr> Message-ID: <0c455a270b66fc687d37e6c41125dd14@szalbot.homedns.org> X-Sender: zbigniew@szalbot.homedns.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Cc: Freebsd questions Subject: Re: 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:52:13 -0000 Hello, >> 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. > If this is a USB flash drive with a FAT partition, it is probably just > da0s1 (I am using one right now!) . Just do an ls /dev/da0* > and simply mount -t msdosfs /dev/da0s1 /mnt/usbck Thank you for your answer. I do have da0s1 but mount -t msdosfs /dev/da0s1 /mnt/usbck mount_msdosfs: /dev/da0s1: Invalid argument Also, it is not a flash drive, it is an external USB drive with IDE hd in it (80 GB). I will skip formatting as I can see your point. Thanks! Zbigniew Szalbot