{SOLVED}Re: Trouble mounting USB pen drive in 4.7

2003-03-20 Thread Darren Spruell
Joshua Oreman wrote:
On Tue, Mar 18, 2003 at 11:38:48PM -0700 or thereabouts, darren_spruell wrote:

Filesystem = unknown. I am able to mount it under Windows 2000 Pro and in the
past on an identical FreeBSD box. I believe the command I used was 'mount
/dev/rda0 /mnt' and it worked, sometimes. Under Linux it mounts flawlessly
with 'mount /dev/sda /mnt'...
The device is not partitioned.

Now all my attempts under FreeBSD end in "...I/O error."


To find out the filesystem:
# file -s /dev/da0
This will run 'file' on the contents of the drive (-s flag) instead
of the drive itself (otherwise, it would say `character device' or
something).
Some common `mount' commands you could use:
If `file' says something about DOS or Windows:
# kldload msdosfs
# mount_msdosfs /dev/da0 /mnt
If `file' says it's UFS:
# mount /dev/da0 /mnt
If `file' says it's ext2:
# kldload ext2fs
# mount_ext2fs /dev/da0 /mnt
Otherwise, send me the output of the file command above and I'll see
what I can do.
Notes:
1) If you're running 4.x, replace 'msdosfs' with 'msdos' above.
2) `mount' wants /dev/da0, not /dev/rda0.

--
Darren Spruell
Sento IS Department
[EMAIL PROTECTED]


Hope this helps,
Josh
This is with the device plugged into the USB port, but not mounted:

# file -s /dev/da0
file /dev/da0: can't read `/dev/da0' (Input/output error).
I found out that I can mount it like this:

# mount -t msdos /dev/rd0s1 /mnt

Output with device mounted:
# file -s /dev/da0
/dev/da0: x86 boot sector
So, I can mount it now, knowing that I have to mount it as msdos, and 
that I must mount /dev/rda0s1 (wouldn't have thought to mount just a 
slice...?)

--
Darren Spruell
Sento I.S. Department
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Trouble mounting USB pen drive in 4.7

2003-03-19 Thread Joshua Oreman
On Tue, Mar 18, 2003 at 11:38:48PM -0700 or thereabouts, darren_spruell wrote:
> Filesystem = unknown. I am able to mount it under Windows 2000 Pro and in the
> past on an identical FreeBSD box. I believe the command I used was 'mount
> /dev/rda0 /mnt' and it worked, sometimes. Under Linux it mounts flawlessly
> with 'mount /dev/sda /mnt'...
> 
> The device is not partitioned.
> 
> Now all my attempts under FreeBSD end in "...I/O error."

To find out the filesystem:
# file -s /dev/da0
This will run 'file' on the contents of the drive (-s flag) instead
of the drive itself (otherwise, it would say `character device' or
something).

Some common `mount' commands you could use:
If `file' says something about DOS or Windows:
# kldload msdosfs
# mount_msdosfs /dev/da0 /mnt
If `file' says it's UFS:
# mount /dev/da0 /mnt
If `file' says it's ext2:
# kldload ext2fs
# mount_ext2fs /dev/da0 /mnt
Otherwise, send me the output of the file command above and I'll see
what I can do.
Notes:
1) If you're running 4.x, replace 'msdosfs' with 'msdos' above.
2) `mount' wants /dev/da0, not /dev/rda0.

> -- 
> Darren Spruell
> Sento IS Department
> [EMAIL PROTECTED]

Hope this helps,
Josh

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Trouble mounting USB pen drive in 4.7

2003-03-18 Thread darren_spruell

chris scott said:
> what is the file system and is the drive partitioned?

Filesystem = unknown. I am able to mount it under Windows 2000 Pro and in the
past on an identical FreeBSD box. I believe the command I used was 'mount
/dev/rda0 /mnt' and it worked, sometimes. Under Linux it mounts flawlessly
with 'mount /dev/sda /mnt'...

The device is not partitioned.

Now all my attempts under FreeBSD end in "...I/O error."

-- 
Darren Spruell
Sento IS Department
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Trouble mounting USB pen drive in 4.7

2003-03-18 Thread chris scott
what is the file system and is the drive partitioned?

to mount my zip drive, i use the command

mount -t ufs /dev/da0 /mnt/zip

its its windows formated i use

mount -t msdos /dev/da0 /mnt/zip

if it was partitioned i would use

mount -t msdos /dev/da0s1e /mnt/zip

- Original Message - 
From: "Darren Spruell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 18, 2003 10:43 PM
Subject: Trouble mounting USB pen drive in 4.7


> Greetz,
> 
> running 4.7 RELEASE and I insert my USB pocket drive into USB slot. I 
> see the following come into my dmesg:
> 
> umass0: USB Solid state disk, rev 1.10/1.00, addr 2
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0:  Removable Direct Access SCSI-2 device
> da0: 650KB/s transfers
> da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C)
> 
> How can I mount this onto my filesystem? I've tried variations of the da 
> driver (rda0, da0, rda0s1, etc...) but I get I/O errors...
> 
> Many TIA,
> 
> -- 
> Darren Spruell
> Sento IS Department
> [EMAIL PROTECTED]
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Trouble mounting USB pen drive in 4.7

2003-03-18 Thread Darren Spruell
Greetz,

running 4.7 RELEASE and I insert my USB pocket drive into USB slot. I 
see the following come into my dmesg:

umass0: USB Solid state disk, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0:  Removable Direct Access SCSI-2 device
da0: 650KB/s transfers
da0: 126MB (258048 512 byte sectors: 64H 32S/T 126C)
How can I mount this onto my filesystem? I've tried variations of the da 
driver (rda0, da0, rda0s1, etc...) but I get I/O errors...

Many TIA,

--
Darren Spruell
Sento IS Department
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message