DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th February 2011
codeFreak codeFreak is offline
New User
 
Join Date: Feb 2011
Posts: 4
Default Mount USB Problems

Hi. I've mounted USB sticks under Linux, but having some trouble under OpenBSD:

When I plug it in, dmesg gives me:

Code:
umass0 at uhub0 port 5 configuration 1 interface 0 " USB Flash Memory" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd2 at scsibus3 targ 1 lun 0: <, USB Flash Memory, PMAP> SCSI0 0/direct removable
sd2: 3822MB, 512 bytes/sec, 7827456 sec total
Then I took a stab at it:

Code:
# mkdir /mnt/usb
# mount /dev/sd2a /mnt/usb
mount_ffs: /dev/sd2a on /mnt/usb: Device not configured
# mount -t vfat /dev/sd2a /mnt/usb 
mount: no mount helper program found for vfat: No such file or directory
# mount -t msdos /dev/sd2a /mnt/usb
mount_msdos: /dev/sd2a on /mnt/usb: Device not configured
Thanks in advance for your patience.
Reply With Quote
  #2   (View Single Post)  
Old 16th February 2011
girarde girarde is offline
Fdisk Soldier
 
Join Date: Nov 2010
Location: NW FL
Posts: 75
Default

The device that you want is probably /dev/sd2i - the "i" slice seems to be where FAT volumes are found.

Last edited by girarde; 16th February 2011 at 08:11 PM. Reason: amplify
Reply With Quote
  #3   (View Single Post)  
Old 16th February 2011
rocket357's Avatar
rocket357 rocket357 is offline
Real Name: Jonathon
Wannabe OpenBSD porter
 
Join Date: Jun 2010
Location: 127.0.0.1
Posts: 429
Default

While it's true that "i" is usually the slice where FAT/MSDOS partitions fall, you can find out for sure by doing something like this:
Code:
# disklabel sd0 
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: U3 Cruzer Micro 
duid: be87cc821c90eada
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 498
total sectors: 8015505
boundstart: 0
boundend: 8015505
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:          8015505                0  unused                   
  i:          8000306               64   MSDOS                   
#
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount img guitarscn OpenBSD Packages and Ports 5 8th November 2010 04:45 PM
how do i mount usb wokko NetBSD Installation and Upgrading 4 15th May 2010 09:48 AM
Cannot mount (NTFS) IIMarckus OpenBSD General 4 11th August 2008 08:44 PM
mount problems with ntfs drive shinjii FreeBSD General 3 25th June 2008 12:33 AM
USB mount problems?? bsdnewbie999 FreeBSD General 3 23rd May 2008 03:34 AM


All times are GMT. The time now is 05:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick