PDA

View Full Version : Connecting USB drives - double /dev/ entries... [SOLVED]


rodonn
07-04-2007, 08:22 PM
For some reason when I connect a flash drive it creates two entries in my /dev/ directory... is this normal?

ls /dev/da*

returns

/dev/da0 /dev/da0s1

pheet
07-04-2007, 08:52 PM
Yes, completely normal.

/dev/da0 is the raw device.

/dev/da0s1 is the file system on the device (slice 1 on da0)

When formatting (newfs_msdos for example), use /dev/da0.

When mounting, use /dev/da0s1 (e.g. mount -t msdos /dev/da0s1 /media/USBSTICK )

See also http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disk-organization.html

rodonn
07-04-2007, 11:14 PM
Yet another 'SOLVED' thanks to pheet...