Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2007 12:03:25 +0300
From:      Manolis Kiagias <sonicy@otenet.gr>
To:        Zbigniew Szalbot <zbigniew@szalbot.homedns.org>
Cc:        Freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: finding the USB drive name, mounting and formatting
Message-ID:  <46949CDD.7040209@otenet.gr>
In-Reply-To: <0c455a270b66fc687d37e6c41125dd14@szalbot.homedns.org>
References:  <46949856.1040309@otenet.gr> <0c455a270b66fc687d37e6c41125dd14@szalbot.homedns.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46949CDD.7040209>