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.
Default slack 10.1 uses the low performance usb drivers instead of scsi (see if # CONFIG_BLK_DEV_UB is set in the kernel config file), so it might be something like /dev/uba1 instead of /dev/sda1.
I had to edit my /etc/fstab to include the usb line, and now I can manually mount it, but how do I get it to automatically mount when I plug it in. I am running 10.2 and I tend to do everything from the command line instead of running X.
Not really, hotplug allows you to use devices immediately, without configuring or rebooting, it has nothing to do with how you use them. As soon as you plug in your external HD, hotplug makes sure it can be mounted, but it doesn't mount it for you.
With submount, you'll have a deamon running in the background which checks whether you plug something in and, if possible, mounts it for you and opens your file browser. My experience is that it's much faster to manually mount it (cli) and use the ls command to check the content.
Not really, hotplug allows you to use devices immediately, without configuring or rebooting, it has nothing to do with how you use them. As soon as you plug in your external HD, hotplug makes sure it can be mounted, but it doesn't mount it for you.
With submount, you'll have a deamon running in the background which checks whether you plug something in and, if possible, mounts it for you and opens your file browser. My experience is that it's much faster to manually mount it (cli) and use the ls command to check the content.
I primarily use cli so would submount work there? I don't have to have it work like that, though, so I'm not to worried about it.
How can you figure out what device your flash drive is assigned to, anyway? Yesterday I figured out that it was sdd1 by fdisking randomly, but today it's not sdd1 anymore.
I can't get my usb flash working.
What do I need in kernel?
I have usb support, usb storage, scsi disk support, all built-in.
Do I need hotplug? I tried to load Linux with flash inside the usb port, but still no success.
mount -t vfat /dev/sda /mnt/usb_flash doesn't work for me, as well as mount -t vfat /dev/sda1 /mnt/usb_flash
What to do?
Could you be a bit more specific in what you mean when you say mounting doesn't work, please? What happens when you try to mount? Error messages? If so, what are they?
kornerr@kornerr:~$ sudo mount -t vfat /dev/sda /mnt/usb_flash/
mount: /dev/sda is not a valid block device
kornerr@kornerr:~$ sudo mount -t vfat /dev/sda1 /mnt/usb_flash/
mount: /dev/sda1 is not a valid block device
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.