Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
I run a ubuntu box headless. On it, I run some scripts detecting various media types inserted and then I import or export content.
I have a card reader wired to onboard USB. Normally on boot this shows up as /dev/sdb and then when a card is inserted it lists /dev/sdb1 etc.
I also insert a usb drive which shows up as /dev/sdc1 etc.
All of my scripts are fixed to those /dev points
problem: If i have a USB HDD plugged in and i reboot, the usb hdd gets pulled in first and lands at /dev/sdb then the card reader at /dev/sdc - i.e. the reverse of how all of my scripts expect them to be.
So, I need some help in writing a udev rule that would ensure that they both always get the same /dev point.
I can pull all of the ids etc no problem with sysinfo etc, just need a clear pointer as to what my udev rule should look like. I have spent some time with the man pages, just having trouble with specifics.