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.
I'm thinking I should just build the modules into the kernel that I need for this USB 2.0 drive. Where in the kernel config is the options for building these modules into kernel 2.6.23.8 (I use menuconfig)?
Last edited by linuxhippy; 11-23-2007 at 07:17 PM.
How did you get it to mount? I am having the same problem, not using automount though. Whereas the USB thumbdrive usually gets assigned a /dev, such as /dev/sda1, that is no longer happening for me and I can't figure out why!
@Vincent Vega: Run dmesg. Don't know how those mount points at dev are assigned (somebody tell me) and never found a better way to check what's happening.
Last edited by Alien_Hominid; 11-24-2007 at 02:42 AM.
@Vincent Vega: Run dmesg. Don't know how those mount points at dev are assigned (somebody tell me) and never found a better way to check what's happening.
The way I watch all of this happen is with:
Code:
tail -s 3 -f /var/log/messages
There is the initial messages that the system recognized something was plugged into the USB and usually a second after that it shows something like:
"sda : sda1"
But that's the part that never happens!
The "1" can be useful if you make backups with a tool that works like the old "dump" tool did, and understands that field from the "fstab" file. It's usually a good idea to set it to "1", for tradition, with mount points that hold data that would typically be copied as part of a backup. In this case it could be right.
The second number, a "2" in this case, is used by "fsck" when invoked with the "-A" option to check every filesystem, in order. "fsck" is invoked this way from "rc.S" but could also be invoked by hand. It's, like the previous field, useful when the mount point refers to a "system" mount point like /, /home, etc. The user would have to decide if it's appropriate in this case. If you end up mounting the filesystem from rc.local because you're not able to appropriately load all the required modules from the initrd (or other problems) and you never run fsck by hand this way, it wouldn't be used. Read "man fstab" and "man fsck" for more details, as well as /etc/rc.d/rc.S.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.