Valid block device for USB memory stick on SUSE 9.2
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well sda without any number isn't a valid block device...try instead sda4 or sda1 or something like that. for me, one stick was sda4 but the one I have now is sda1 (when it works...this kernel I'm running doesn't like my usb-stuff too much, works sometimes and sometimes does not)
try reading dmesg or /var/log/messages when plugging the stick in, to get some clues...or /proc/bus/usb/devices or something....but I guess it's sdaX where X is some number..
If you have other USB storage devices installed it might not be /dev/sda
I have a usbstick and a usb camera, the first one plugged into the USB is assigned /dev/sda(x) and the second one /dev/sdb(x)
As 'b0uncer' suggested:
dmesg
or
less /var/log/messages
or
less /var/log/syslog
SUSE 9.2 --- the device name of an USB MEMORY STICK can be found by:
step 1. program USBview; this will show the device serial number
(for me 7777777777777777)
NOTE: step 1 not necessary, but handy for a hardware check,
and this serial number is shown in YAST Hardware Info)
step 2. program Yast HardWare Info; this will show the device names
(for me under: DASD disks, Ultra Floppy, dev_names)
in my case three names:
1. /dev/sda
2. /dev/disk/by-path/usb-disk/by-path/usb-7777777777777777:0:0:0
3. /dev/disk/by-id/OTi-Ultra_Floppy
/dev/sda did not work, so I used the third device name
step 3. Create a directory where you want the device to be mounted on.
For me at this moment: /home/dewag/USBpen
step 4. Edit /etc/fstab and add the following with your own parameters:
/dev/disk/by-id/OTi-Ultra_Floppy /home/dewag/USBpen vfat
noauto,user,rw,exec,umask=002 0 0
step 5. Execute the command mount /dev/disk/by-id/OTi-Ultra_Floppy
Now, I can read and write to the Memory Pen via /home/dewag/USBpen
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.