usb memory stick (cruzer mini) problem on mandrake10.1
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
usb memory stick (cruzer mini) problem on mandrake10.1
I have a usb memory stick issue on linux. Monday, I plug it in to my office machine (mandraklinux10.1 version) and worked on some files and saved them under /mnt/removable/. In evening, I took it to my home and plug it into my home machine (mandrakelinux10.0 version) and worked on these files and saved them under /mnt/removable/ which do the same as daytime I did. Next day, I got back to office and plug it to my office machine. Strangely I could not find these folders and files under /mnt/removable/. I use "ls /mnt/removable/" and it is empty. But I can see these folders and files in memory stick from a Windows XP machine. Does any one know this issue?
Sorry, I did not do umount at that time before I removed the stick. right now, I cannot use this memory stick on my office pc, but it can be used on other machines including my home pc. so far, I understand that I need to issue umount command to unmount the device before remove it. I can successfully unmount it from other machine and use it repeately exception for my office machine. I don't know how to fix it in my office PC. Thank you for your reply.
As Smitty said, did you make sure to mount and unmount it both times? You may not have mounted it the second time at work, in which case the folder /mnt/removeable would still be there, but would be empty. I don't trust autoanything (ie: automount), so mount /mnt/removeable and umount /mnt/removeable get the job done, and are simple to do (especially if you have the information already in fstab).
Thanks any way, I got my memory stick back to work on my office PC, which I just plug it and reboot the system, after then it was recognized as /mnt/removable and works. next time I always use umount command before unplug it.
By the way, I am wondering how to meet these Linux professional or experts in the local area. or become a member of the newsgroup of linux in the region or nation wide. I am living Salt Lake City, Utah and I am plenty new to Linux programming environmental although I worked on embedded system programming few years. I have a lot of question related to Linux system or kernel level device driver. I use Mandrake linux 10.1 which is kernel 2.6.8 and I have a book, Linux Programming Unleashed, Sams version, which has some sample code about device driver, but when I compile one of module of driver, it pop out a lot of compile errors. I do not have ideal what is going on there. My friend told me that sample code from book may be under version 2.4 kernel. I don't understand why Linux does not backward compatible. Thanks.
Originally posted by yyang Thanks any way, I got my memory stick back to work on my office PC, which I just plug it and reboot the system, after then it was recognized as /mnt/removable and works. next time I always use umount command before unplug it.
Ok. Linux Lesson #1....Reboots are a very last resort. I'm certain your problem could have been fixed with out it.
As Vgui said. /mnt/removable was prob still mounted.
Linux Lesson #2 ... The man pages are your friend. Oh yeah and google
Yes, you are right. The reboot is a last choice. But before, I cannot see the memory stick there although I issueed mount /mnt/removable or /mnt/memstick and got error message said there is no list name match the device. Right now, the situation is when the memory stick was plugged in, the desk top will show an icon, SanDisk Cruzer Mini, and it is automatically mounted and I don't issue any mount command any more, but when I took it out I always issue umount /mnt/removable any time. That works fine so far.
I have a similar problem whit my GSM Motorola E398 which is seen in XP like removable disk.I tried many ways to solve the problem,but no result.It gives a error -1 or -71.Then I compile a new kernel 2.6.13(whit many errors and bugs) but when I plug the phone it was recognized from the system.So I think problem is in kernel 2.6.8.Is there someone who knows where do we can find newer kernel to Mandrake 10.1 in rpm format.I try to install 2.6.11 but it tells me bad SDA key.