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?
kernel 2.6.21.5 Slackware 12.0 Hardware: USB 1.1 |
It's probably due to udev. You can write a custom udev rule to keep it consistent across reboots.
http://www.slackwiki.com/Udev |
And how can I rule out udev? Not a joke. I really do not know if I need it.
|
Just chmod -x /etc/rc.d/rc.udev.
That's the easy part of it. Now you will have to do udev's job yourself. That's the uneasy part of it. Let me quote rc.udev, as shipped with Slacxkware 13.37: Code:
# This is a script to initialize udev, which populates the /dev |
It was more simple with Unix: static devices.
|
Nostalgia...
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) ;) |
I have just downloaded 10.2 and have running in a machine. 9.1 had issues with usb.
|
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:
|
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". |
Quote:
Code:
Device descriptor: |
All times are GMT -5. The time now is 11:14 AM. |