From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 09:03:30 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 BA4FC16A400 for ; Wed, 11 Jul 2007 09:03:30 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id 320FF13C447 for ; Wed, 11 Jul 2007 09:03:29 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from atlantis.dyndns.org (athedsl-323974.home.otenet.gr [85.72.121.36]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l6B93R4u024521; Wed, 11 Jul 2007 12:03:27 +0300 Message-ID: <46949CDD.7040209@otenet.gr> Date: Wed, 11 Jul 2007 12:03:25 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.4 (X11/20070615) MIME-Version: 1.0 To: Zbigniew Szalbot References: <46949856.1040309@otenet.gr> <0c455a270b66fc687d37e6c41125dd14@szalbot.homedns.org> In-Reply-To: <0c455a270b66fc687d37e6c41125dd14@szalbot.homedns.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 09:03:30 -0000 Zbigniew Szalbot wrote: > 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 > > > If it is a large hard disk, then it is probably worth it to make a UFS filesystem on it. You can do this very easily by running sysinstall. You will then have a /dev/da0s1d to mount In fact you may like to try mounting it as /dev/da0s1d right now and see what happens...