Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
on initially mounting the usb stick an entry /sdb1 pops up in /dev.
after unmounting and then remounting. An entry /sdc1(Sdb1 no longer being present) pops up, which explains(I think) why I can no longer access the USB stick.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645
Rep:
The "How to write udev rules" HOWTO has the information you need. By creating your own local rule you can request that your device is always assigned the same device name. Not sdb or sdc since these are dynamically generated, but for example /dev/usbstick. I guess if you use the search function here some if not many similar threads will be found where you can get further examples.
The HOWTO: http://www.reactivated.net/writing_udev_rules.html
under: /etc/rc.d/rc.modules-2.6.18 - Just loaded the module for usb-storage
### USB device support:
# USB Mass Storage support:
/sbin/modprobe usb-storage
With the same fstab entry as previous: /dev/sdb1 /mnt/usb vfat noauto,user,rw 0 0
I can now mount and then remount my usb key.
The only catch to this is, I have to physically remove the usb key and then plug it back in again to be able to access it a second time. But for my usage this is not a problem.
I guess sometimes trial and error is a substituate for thinking and understanding.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.