LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   mounting pendrive (https://www.linuxquestions.org/questions/linux-hardware-18/mounting-pendrive-354216/)

ankscorek 08-17-2005 10:20 AM

mounting pendrive
 
im using Slackware 10.1 on kernel 2.6.12.3

whenever i plug in pendrive

it detects it as scsi1 device

but i have no node as sda or sdb made on the OS

so i run this comman

# mknod /dev/sda c 8 0
# chmod 777 /dev/sda
# mount /dev/sda /mnt/pendrive
sda is not a block device

im getting the above error
how do i mount the pen drive

rose_bud4201 08-17-2005 10:44 AM

What do you see from dmesg right after you plug it in? It may not be a simple /dev/sdaX (my camera isn't, for example.)

ankscorek 08-17-2005 07:44 PM

dmesg i wrote above is detecting it as scsi device....

rnicolson 08-17-2005 08:38 PM

Shouldn't you be mounting sda1 and not sda? In order for you to access a drive to read or write data there needs to be at least one partition.

ankscorek 08-18-2005 02:57 AM

sda1 is also giving me the same error message

rnicolson 08-18-2005 08:37 AM

Check to see if the device is recognized as /dev/uba when you plug it in. I had this happen when I upgraded to the 2.6 kernal from the Slackware 10.1 cd. It would mount for me but would not let me copy to or from the drive though. I am sure it is just an option in the kernel but am not sure which one. Upgrading again to the kernel packages in the current tree under testing solved the problem for me. If you don't want to try upgradin the kernel as an option this ealy in trouble shooting and it does show up as /dev/uba then try to see if you have the sd_mod module as in this earlier thread.

http://www.linuxquestions.org/questions/history/330482


All times are GMT -5. The time now is 07:37 AM.