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.
3. Added the cfc, smc, mmc, and msc files to the mount directory.
1. I do not know where to put the script. I had it in root but the cd player wouldn't work on loading.
2. The different card formats seem to change their lun position (ie: the mmc device has shown up as both sdb1 and sdc1 across reboots).
3. Can I do away with the script if I recompile the kernel to probe for multiple luns? I believe the answer is yes but need to learn to recompile a kernel at this point.
4. When mounting the device after running the script post-boot I cannot write to the card. My first guess would be that this is an ownership problem but figured I would include this as this is about where I stopped trying to make this work-just building up the motivation for another salvo.
1. I would put the script in your /etc/rc.d/init.d directory and make an (early) symlink to it in /etc/rc.d/rc3.d. What I mean by early is... if you look at the links in that directory (rc3.d) you'll notice that some are SxxScript and others are KxxScript - S and K mean 'start' and 'kill'. The xx is a number that represents how soon that script is executed. So, something like S01Script would start that script before S02Script.
2. Not sure. Sorry. The only time I have had this problem is if my USB reader is not plugged in at boot (the burner and zip drive are ide-scsi, and so they can all get screwy if the machine is booted with the reader unplugged).
3. Yes. Configuring multi-lun should work fine. Currently I am running Mandy 9.1 with a non-multi-lun kernel because *my* camera uses CF which just happens to be the first lun on my device. I do have a multi-lun enabled kernel too, but it is a little buggy (my fault) so I can't be bothered to boot it, but it works well on the multi-lun front.
4. Try adding 'users' (notice the S at the end... plural) to your fstab. That way any user can mount/umount a device regardless of who originally mounted it.