My pendrive suddenly changed from /dev/sda1 to /dev/sdb1!
SlackwareThis Forum is for the discussion of Slackware 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.
My pendrive suddenly changed from /dev/sda1 to /dev/sdb1!
Aka memory stick aka flash memory stick. I think i must have booted in the middle but I went to mount it and found it had "migrated" to sdb1 according to 'fdisk -l'. What can be the reason?
Let me quote rc.udev, as shipped with Slacxkware 13.37:
Code:
# This is a script to initialize udev, which populates the /dev
# directory with device nodes, scans for devices, loads the
# appropriate kernel modules, and configures the devices.
You could go back to Slackware 11 then, as it had hotplug with a 2.4.33.3 kernel (udev was offered as an alternative then, in association with a 2.6.17.13 kernel)
If I remember well, 10.2 was the first version of Slackware I used.
PS Just checked the announce for it: udev was already included, oh well...
Quote:
When running a 2.6
kernel, Slackware supports udev. This is a system for
creating devices in /dev dynamically, greatly reducing device
clutter and making it easy to see what devices are actually
present in the system.
Last edited by Didier Spaier; 08-08-2012 at 04:20 PM.
Ha, ha ... By the way. 10.2 seems to lack lspci and I want to know what version is USB in that machine. How can I know? At boot time there are no messages mentioning USB. Only "Activating hardware detection: /etc/rc.d/rc.hotplug start". You spoke about it.
Back to the topic: if you don't want to make an udev rule for your USB stick, you could instead make en entry for it in /etc/fstab, designating the device not by /dev/something but by its UUID. Just issue the "blkid" command after having plugged-in your USB key and begin the relevant line for it in /etc/fstab with UUID=<the string given by blkid for the USB key>.
EDIT. I didn't see your last post before this one. You could try "lsusb".
Last edited by Didier Spaier; 08-08-2012 at 04:49 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.