Jump to content

Another newbie with a USB Flash Drive, I'm afraid.


sellis
 Share

Recommended Posts

First, some background. I have a new installation of Mandrake 10.0 (downloaded), virtually "out of the box", apart from installation of Mozilla Firefox, Thunderbird and a load of documents from my old drive.

 

I also have a QSI Intelligent Stick flash drive, 128M, which I am having trouble with.

 

I've looked through the various forum answers, and haven't seen a description of the behavior that I see, but please forgive me if I have missed an existing post.

 

Thanks to various posts that I have found, I can successfully mount the flash drive when it is plugged in (although I don't see anything new on the KDE desktop, as some people have suggested). So, if I see that the drive is at /dev/sda, I can

 

mount -t vfat /dev/sda /mnt/usb

 

...and copy files off the drive. So far, so good. So, I now want to add that to my fstab. This is OK until I unplug the device and plug it back in.

 

Now, it has the designation /dev/sdb. If I do it again, it is /dev/sdc.

 

(It also shows up under /dev/scsi/host0/... etc, with the host number incrementing by one every time I unplug it.)

 

Naturally, I want to be able to plug and unplug this drive as I transfer files from one place to another, but I also want to add it to my fstab, so I can create a device icon for it on the KDE desktop. This requires that it has a stable /dev/something designation.

 

Ideally, I'd like to see something like the floppy or CDROM behavior, where the icon appears when the device is present, and is removed when it is unplugged.

 

As I say, it's a fresh installation of Mandrake and I'm learning the ins and outs of Linux as I go, so any help would be greatly appreciated.

 

Sean

I'm not a rocket scientist, but I play one on TV.

Link to comment
Share on other sites

... So, if I see that the drive is at /dev/sda, I can

 

    mount -t vfat /dev/sda /mnt/usb

 

...and copy files off the drive. So far, so good. So, I now want to add that to my fstab. This is OK until I unplug the device and plug it back in.

 

Now, it has the designation /dev/sdb. If I do it again, it is /dev/sdc.

 

Well, I think I cracked it - stupid error, as usual. I wasn't unmounting the drive before I unplugged it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...