Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO USB Mass Storage Device and Gentoo :D
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Wed Dec 24, 2003 8:26 am    Post subject: Reply with quote

horgh: look in /dev/scsi/.../part? - it might be there even though /dev/sda1 is not.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
gatiba
Guru
Guru


Joined: 01 Sep 2002
Posts: 434

PostPosted: Thu Jan 01, 2004 8:17 pm    Post subject: Reply with quote

DooBeDooBeDo wrote:
GlennM wrote:
Well, a lot of fiddling later and I've got it isolated. I have an icon for my Jumpdrive on my KDE desktop (because icons are nice...), and if I accidentally click on it when the Jumpdrive isn't inserted, it tells me "No media is available" (or something) and then /dev/sda1 goes away. I can make it come back with "/etc/init.d/hotplug restart"; I havn't tried your idea. If I just use the mount/unmount on the KDE icon and don't try to mount it when it isn't there, everything is fine. A small glitch, to be sure, but easy to work around.

On a side note...the lowest rank is n00b. That's funny... :)


I create a desktop icon when my digital camera mounts here are the pertient bits of my script


Code:

        if [ -f /var/run/console.lock ]
        then
                CONSOLEOWNER=`cat /var/run/console.lock`
        elif [ -f /var/lock/console.lock ]
        then
                CONSOLEOWNER=`cat /var/lock/console.lock`
        else
                CONSOLEOWNER=
        fi
       
       # add  a desktop entry
        echo "[Desktop Entry]" >/home/$CONSOLEOWNER/Desktop/camera
        echo "Comment=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Comment[en_US]=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Encoding=UTF-8" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Exec=/home/$CONSOLEOWNER/bin/get_cam_pics" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "GenericName=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "GenericName[en_US]=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Icon=camera" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "MimeType=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Name=camera" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Name[en_US]=camera" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Path=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "ServiceTypes=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "SwallowExec=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "SwallowTitle=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Terminal=false" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "TerminalOptions=" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "Type=Application" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "X-KDE-SubstituteUID=false" >>/home/$CONSOLEOWNER/Desktop/camera
        echo "X-KDE-Username=" >>/home/$CONSOLEOWNER/Desktop/camera
        chown $CONSOLEOWNER.users /home/$CONSOLEOWNER/Desktop/camera

        echo "#!/bin/bash" > $REMOVER
        echo "umount -l /mnt/usb" >> $REMOVER
        echo "modprobe -r usb_storage" >> $REMOVER
        # remove the desktop entry
        echo "rm -f /home/$CONSOLEOWNER/Desktop/camera" >> $REMOVER
        chmod a+x $REMOVER



I can't make your script works, could you please explain a little more how to autocreate an icon on plug ?!

Tx and sorry for my english !
Back to top
View user's profile Send private message
wolvenwraith
n00b
n00b


Joined: 28 Dec 2003
Posts: 67
Location: Someplace, Somewhere

PostPosted: Fri Jan 02, 2004 11:30 pm    Post subject: Reply with quote

benca1 wrote:
Oh God! I'm ready to eat a bullet. So many threads on the mysterious /dev/sda1...

If you live in the Bay Area and you get my Intel mp3 player mounted, I'll buy you lunch.

Here's the error output:
Code:

Dec  4 21:26:35 woob hub.c: new USB device 00:02.3-2, assigned address 2
Dec  4 21:26:36 woob usb.c: USB device 2 (vend/prod 0x8086/0x100) is not claimed                               
 by any active driver.
Dec  4 21:27:00 woob usb.c: USB disconnect on device 00:02.3-2 address 2


Here's lsmod:

Code:

Module                  Size  Used by    Tainted: P 
usb-ohci               17352   0  (unused)
usbcore                55488   1  [usb-ohci]
snd-mixer-oss          10992   0  (autoclean)
serial                 49092   0  (autoclean)
isa-pnp                28100   0  (autoclean) [serial]
sis900                 12524   1
snd-emu10k1            57684   0
snd-pcm                53344   0  [snd-emu10k1]
snd-timer              12644   0  [snd-pcm]
snd-util-mem            1184   0  [snd-emu10k1]
snd-rawmidi            12448   0  [snd-emu10k1]
snd-page-alloc          5652   0  [snd-emu10k1 snd-pcm]
snd-ac97-codec         35992   0  [snd-emu10k1]
snd-seq-device          3776   0  [snd-emu10k1 snd-rawmidi]
snd-hwdep               4672   0  [snd-emu10k1]
snd                    27556   0  [snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-util-mem snd-rawmidi snd-ac97-codec snd-seq-device snd-hwdep]
soundcore               3364   3  [snd]
sd_mod                 10604   0  (unused)
vfat                    9324   0
fat                    29816   0  [vfat]
scsi_mod               51380   1  [sd_mod]
nvidia               1626688  11


And what else would you need?

I can't take it anymore. This has been a project, off and on, for several months and I was determined to resolve this tonight and it's been 6 hours! Ahhhhgggggggg.

I tried custom hotplug scripts. Re-compiling my kernel more times then I care to admit. modprobe this and that. I can't get this INtel mp3 player to mount.

However, the Canon G3 seems to be no problem...

Thanks much.[/code]


You know, I went through the same thing... recompiling the kernel dozens of times, modprobing, yada yada yada for quite awhile, I was almost ready to assume it was the card reader. Guess what it was.... the port on the front of the computer was broke. It only works for some devices. I plugged the card reader into my usb hub which goes to the back of the computer and it worked right off the bat. It's amazing how simple things can be.
Back to top
View user's profile Send private message
brkdncr
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2003
Posts: 92

PostPosted: Thu Jan 08, 2004 7:38 pm    Post subject: Reply with quote

This how-to is working for my olympus camedia c-720 ultra zoom, which uses smartmedia.

I'm using gentoo-dev-sources 2.6 kernel
all relevent scsi and usb settings are compiled into kernel.
Back to top
View user's profile Send private message
gmtl3
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2004
Posts: 135

PostPosted: Mon Feb 02, 2004 8:46 pm    Post subject: Reply with quote

I'm trying to boot from a usb drive, and I stumbled onto this forum thread. I'm having some trouble, and one thing that was not clear to me from some of the posts was: Does the /boot partition (/dev/sda1) have to be a DOS FAT/vfat filesystem, or can it be something like ext2?

I also have not tried compiling the usb and scsi options staticly instead of as modules.
Back to top
View user's profile Send private message
AeroScarr
n00b
n00b


Joined: 05 Feb 2004
Posts: 13
Location: Ann Arbor, MI

PostPosted: Wed Feb 11, 2004 1:51 am    Post subject: Reply with quote

Here's a piece of advice I wish I would have known as it would have saved me a few hours.

If you are using a Sony digital camera (I have a DSC-S75, kernel 2.4.22-gentoo-r5) and you're trying to follow this HOWTO and use it as a mass storage device, make sure your camera is operating in the "Normal" USB mode, and not the "PTP" mode.

Ahhh....there we go.
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Thu Feb 19, 2004 8:51 pm    Post subject: Reply with quote

I have my iRiver iHP120 working fine at USB-HighSpeed (2.0) at home, but at work (similar spec. machine) it picks it up as Ver 2.00 but only 12Mbps:

Code:
$ cat /proc/bus/usb/devices
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1006 ProdID=3002 Rev= 1.00
S:  Manufacturer=iRiver             
S:  Product=iRiver iHP-100 Series
S:  SerialNumber=0123456789AB
C:* #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 98mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   2 Ivl=32ms


I'm using the same cable, and the kernel has the same drivers (UHCI and EHCI) compiled in. I have googled around but I can't find any reason why it would negotiate this lower speed. Any ideas?
Back to top
View user's profile Send private message
Franklin2K
n00b
n00b


Joined: 11 Feb 2004
Posts: 22

PostPosted: Tue Feb 24, 2004 9:35 am    Post subject: Reply with quote

Hi,

I followed the Howto yesterday and it worked fine for my SanDisk 8in1 card reader. But one question is left: My card reader supports USB2.0, do I have to compile anything to support USB 2.0? I only have ohci compiled as module and of course the rest as described in the guide.

What about ehci? What is this about? Do I need this for USB 2.0 support? Is this an addition to ohci or a replacement?

Thanks in advance.

Franklin
_________________
Gentoo Linux | Kernel 2.4.24 | KDE 3.2.0
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Wed Feb 25, 2004 1:13 am    Post subject: Reply with quote

Franklin2K wrote:
What about ehci? What is this about? Do I need this for USB 2.0 support? Is this an addition to ohci or a replacement?


It's in addition I think. You need it for usb 2.0.
Back to top
View user's profile Send private message
webkiller71
n00b
n00b


Joined: 29 Nov 2003
Posts: 20

PostPosted: Fri Feb 27, 2004 9:14 pm    Post subject: Reply with quote

tnx man, it works for my digital camera too (medion MD2998 I think, at least, that's what is reads on the bottom)
using gentoo-dev-sources 2.6.3-r2
Back to top
View user's profile Send private message
stephen.austin
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 120
Location: York Uni, UK

PostPosted: Sat Mar 06, 2004 11:45 am    Post subject: Reply with quote

AeroScarr wrote:
Here's a piece of advice I wish I would have known as it would have saved me a few hours.

If you are using a Sony digital camera (I have a DSC-S75, kernel 2.4.22-gentoo-r5) and you're trying to follow this HOWTO and use it as a mass storage device, make sure your camera is operating in the "Normal" USB mode, and not the "PTP" mode.

Ahhh....there we go.



YAY! You genius you :D

Steve
_________________
Artistic Photography

Comments & Criticism welcome! :)
Back to top
View user's profile Send private message
smidget2k4
n00b
n00b


Joined: 09 Mar 2004
Posts: 11

PostPosted: Tue Mar 09, 2004 6:47 pm    Post subject: weird problem not answered before Reply with quote

anyone got any ideas? why is it trying to mount it to sg0 at scsi1, and not sdXX?

Quote:

scsi1 : SCSI emulation for USB Mass Storage devices
Vendor: LEXAR Model: DIGITAL FILM Rev: /W1.
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3


another note, i decided to compile the scsi and usb into my kernel, not as modules, could that be the culprate?

edit: i also cannot mount it at sg0, thought i'd clear that up. it comes up as a character, not a block when i look at it in konq

edit2: it is not listed at sdX# anyway
Back to top
View user's profile Send private message
webfreak
n00b
n00b


Joined: 07 Oct 2003
Posts: 21

PostPosted: Fri Mar 12, 2004 4:45 am    Post subject: Reply with quote

I'm trying to mount my iomega 250mb usb zip drive, and keep getting the "mount: you must specify the filesystem type" message. I have all the dos filesystems compiled in the kernel (dos fat, msdos, vfat, and ntfs). So I got the bright idea to do a cfdisk /dev/sda to see which filesystem the disk was, and it's a fat16 partition. Any ideas why I can't mount this apparently fat16 disk?
Back to top
View user's profile Send private message
stephen.austin
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 120
Location: York Uni, UK

PostPosted: Fri Mar 12, 2004 8:39 am    Post subject: Reply with quote

webfreak wrote:
I'm trying to mount my iomega 250mb usb zip drive, and keep getting the "mount: you must specify the filesystem type" message. I have all the dos filesystems compiled in the kernel (dos fat, msdos, vfat, and ntfs). So I got the bright idea to do a cfdisk /dev/sda to see which filesystem the disk was, and it's a fat16 partition. Any ideas why I can't mount this apparently fat16 disk?


Have you tried specifying 'auto' as the filesystem type? ie.
mount -t auto /dev/sda /mnt/zip or whatever. You probably do actually have partitions on the disk tho, so it may not just be /dev/sda, it may be sdaX where X is the partition number. It probably won't be logical either..... My internal 100Mb zip drive thinks that my zip disks should be mounted on /dev/hdb4..... :P

Steve
_________________
Artistic Photography

Comments & Criticism welcome! :)
Back to top
View user's profile Send private message
webfreak
n00b
n00b


Joined: 07 Oct 2003
Posts: 21

PostPosted: Sat Mar 13, 2004 4:19 am    Post subject: Reply with quote

Yeah I tried using auto as well (that's the first fs type I tried actually). Too bad I left my zip drive at my apartment and I just came home for the break today, but I did bring my tower and keyboard/mouse so I could plug it into a monitor here and still use my pc. I'll try to get the drive working when I get back next weekend.
Back to top
View user's profile Send private message
HardenCoonor
n00b
n00b


Joined: 19 Feb 2004
Posts: 54

PostPosted: Mon Mar 15, 2004 1:41 pm    Post subject: Reply with quote

I guess vfat is the option you are searching for. I think vfat is for fat16 and fat32.

Do a "man mount", and search for fat there.

And i think you should mount /dev/sda4, at least with the zip 100 sda4 is the partition that is mountable.

In general, i think that anyone who uses usb sticks and stuff like this should use the newer 2.6 kernels, hotplug and udev. With udev one can make a link in /dev for his/her stick/camera/whatever with a unique name.

I myself use a usb stick, too. So i made an udev rule, which ultimately creates a devicenode, /dev/usbst. This device i mount via fstab on /mnt/usbst. I also use a parallel port iomega zip 100, so i have troubles sometimes with sda and or sdb (or sdc). With udev this problem was solved. Devfs on the other hand has some problems with usb sticks, zip drives and so on(at least on my PC). The creation of device nodes sometimes fails.
Back to top
View user's profile Send private message
C.M
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2003
Posts: 132
Location: Göteborg - Sweden

PostPosted: Sun Mar 21, 2004 4:45 pm    Post subject: Reply with quote

I'm using the 2.6.4 gentoo-dev-kernel, and I can't read the fat16 correctly.
My mp3 player shows up as /dev/sda1 and I can mount it just fine. The problem
is that the files are shown like this:
Code:

> ls /mnt/jos/*                                                        ~
/mnt/jos/settings.dat

/mnt/jos/asitma~1:
01-sta~1.mp3  03-sta~1.mp3  06-sta~1.mp3  08-sta~1.mp3  10-sta~1.mp3
02-sta~1.mp3  05-sta~1.mp3  07-sta~1.mp3  09-sta~1.mp3  11-sta~1.mp3

The filenames are cut, but if I plug the player into my old computer with the
2.4 kernel the filenames show up correctly. When I try to copy files to the
player when it's mounted in the new computer the mp3's can't be played in the
player. They take up space on the memorystick, but can't be read.

This is mt dmesg when I plug it in and then out:
Code:

usb 2-1: new full speed USB device using address 2
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: EXATEL    Model: i-BEAD100         Rev: 0001
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 505856 512-byte hdwr sectors (259 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
  /dev/scsi/host0/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb 2-1: USB disconnect, address 2


In the kernel I have these filesystems and language supports:
Code:

DOS/FAT/NT Filesystems  --->
  <*> DOS FAT fs support
  <*>   MSDOS fs support
  <*>   VFAT (Windows-95) fs support 
Native Language Support  --->
  --- Base native language support
  (iso8859-1) Default NLS Option
  <*>   Codepage 437 (United States, Canada)
  <*>   Codepage 850 (Europe)
  <*>   NLS ISO 8859-1  (Latin 1; Western European Languages)
  <*>   NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)
  <*>   NLS UTF8
(Those not listed are not selected)

The /etc/fstab says:
Code:

/dev/sda1               /mnt/jos        auto            noauto,user,exec       0 0

Why does it work fine with the 2.4 kernel on my old computer. I've checked the languages and filesystems, and they seem to be the same. I've tried specifying -t msdos and mounting the player manually, but that doesn't help. What do I have to to to be able to copy the files so that the player can read them? :?
Back to top
View user's profile Send private message
C.M
Tux's lil' helper
Tux's lil' helper


Joined: 14 Mar 2003
Posts: 132
Location: Göteborg - Sweden

PostPosted: Sun Mar 21, 2004 4:54 pm    Post subject: Reply with quote

Sorry.. I was just being a moron again. As soon as I tried to mount it with
Code:

mount -t vfat /dev/sda1 /mnt/jos

everything worked perfectly. Just strange that the auto mount option means different things on the different machines. Hope this helps someone at least.
Back to top
View user's profile Send private message
jtippell
n00b
n00b


Joined: 26 Jan 2004
Posts: 19

PostPosted: Tue Mar 23, 2004 1:42 pm    Post subject: Reply with quote

thanks for the guide. only 2 questions:

1:

under /dev, sda, sda1...sda4 are listed. it doesn't like mounting sda1-4, i tried sda and it works fine! can read data on the disc. hmmmm, curious.

BUT

2: only root can mount the drive (i have put it in my fstab as per the original post,only with sda rather than sda1). Any other user does not have privs :(.

Are these 2 problems connected?

thankyou!!!

jtippell
Back to top
View user's profile Send private message
jtippell
n00b
n00b


Joined: 26 Jan 2004
Posts: 19

PostPosted: Tue Mar 23, 2004 4:25 pm    Post subject: Reply with quote

oh if it helps, my specs are 2.6.5rc2, scsi compiled, usb as modules
Back to top
View user's profile Send private message
jtippell
n00b
n00b


Joined: 26 Jan 2004
Posts: 19

PostPosted: Tue Mar 23, 2004 5:18 pm    Post subject: Reply with quote

oops ignore me, i didn't have a correct fstab entry.

it should have been user,auto,rw

that worked for some reason, man mount gives a better explanation.
Back to top
View user's profile Send private message
thechosen0ne
n00b
n00b


Joined: 23 Jan 2004
Posts: 36

PostPosted: Tue Mar 23, 2004 7:56 pm    Post subject: USB keys and suspending laptops Reply with quote

Just a note for people with laptops and usb keys...

I use apm for power management and found that I could NOT get the usb key to work again after suspending/resuming my laptop. I found that I could fix it though by making /etc/apm/event.d/usb (could be whatever name you want) with the following code:

Code:

#!/bin/sh
case "$1" in
        suspend)
                /etc/init.d/hotplug stop
                ;;
        resume)
                /etc/init.d/hotplug start
                ;;
esac


This stops hotplug when you suspend the computer, then restarts hotplug when you wake the laptop up. I also use scripts for alsa and pcmcia that are similar (alsa just changes the name, pcmcia uses /sbin/cardctl eject(or insert))
Back to top
View user's profile Send private message
scaba
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 252
Location: Zurich, Switzerland

PostPosted: Thu Mar 25, 2004 2:02 pm    Post subject: Reply with quote

hi folks,

i followed the howto and got my usb memory stick working. more or less.
what's bugging me is an error message i get on console #1 (ctrl-alt-F1) when plugging in the stick. it reads as follows:
Code:
cat: /sys//devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1:1.0/host0/0:0:0:0/type: No such file or directory

i can't see this message while using my WM (KDE here) and /dev/sda as well as /dev/sda1 appear. using konqueror i can access the stick without bothering about 'mount /dev/sda1 ...' and everything seems to work.

i don't know if it is somehow related to the above error, but i can't copy any files or directories from my hard disc to the memory stick. it says:
Code:
Writing to devices is not supported

or
Code:
Creating folders is not supported with protocol devices

respectively.

my correspondig /etc/fstab entry:
Code:
/dev/sda1     /mnt/usbstick     vfat     noauto,user     0 0


but i can remove/duplicate/copy over (to the hd)/rename files and folders which are already on the memory stick (used normaly on windows xp machines).

i compiled everything as suggested in the howto (exept the 'MSDOS fs support' which i believe i don't need.

any ideas about how to solve that?

btw, anyone knows what i need 'usb device fs' for (currently compiled in)?

thanks in advance
scaba
_________________
Out of silence, a story. Out of chaos, order. Out of nothingness, love...
-- Tad Williams, Otherland
Back to top
View user's profile Send private message
mlybarger
Guru
Guru


Joined: 04 Sep 2002
Posts: 463

PostPosted: Thu Mar 25, 2004 6:09 pm    Post subject: Reply with quote

silly question, please forgive me for not reading all 5 pages of the posts here. do i need usb-storage as a module for this to work? currently it's compiled into kernel. currently, i can mount my usb stick manually ok. i'd like auto detection, auto mounting, and static naming based on the actual device. meaning the stick should be mounted as /mnt/stick and the usb hdd should be /mnt/usb-mass1 /mnt/usb-mass2 etc.

currently nothing happens automatically when i plug in a usb-device. the script /etc/hotplug/usb/usb-storage isn't getting run at all. i have a simple line in there to cat $PRODUCT > /usbdevice to see what the products are. and that file doesn't show up.

tia.
Back to top
View user's profile Send private message
bennettp
Guru
Guru


Joined: 22 Feb 2004
Posts: 335
Location: on my back and tumbling

PostPosted: Sun Apr 04, 2004 12:24 pm    Post subject: Reply with quote

horgh wrote:
hey folks

I also don't have this f*** /dev/sda1 Device. Only a /dev/sda which is mountable with -t usbsf but then there's only crap in it(001, 002 ...).

(snip)


Umm usbfs is not what you want to use.

usbfs is a "dummy" filesystem (for lack of a better word), just like procfs, sysfs, and devfs. It contains information about the usb devices connected to your system (try running "cat /proc/bus/usb/devices"). When you tell the kernel to mount a usbfs filesystem, the device argument is meaningless, and so it is ignored, just like procfs, sysfs, and devfs.

What you need to do is mount the device as vfat. Try this:
Code:
mount -t auto /dev/sda /mnt/point

If that doesn't work, try replacing /dev/sda with /dev/sdb etc, or try /dev/sda1 etc. But if you don't have /dev/sda, then thats probably the one you want.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 5 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum