finding the USB drive name, mounting and formatting

Manolis Kiagias sonicy at otenet.gr
Wed Jul 11 09:03:30 UTC 2007



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



More information about the freebsd-questions mailing list