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.
Hi
This is my first post.
I use slackware, for a while, and always use the terminal to mount a pendrive.
Well it really doesn't matter, but what should i write in fstab, to just plug the pendrive, and the system automatically detect's and mount the pen ?
thank's
Hi
This is my first post.
I use slackware, for a while, and always use the terminal to mount a pendrive.
Well it really doesn't matter, but what should i write in fstab, to just plug the pendrive, and the system automatically detect's and mount the pen ?
thank's
Sorry, for my english,i'm Portuguese.
i think you can check # dmesg once you plug in the usb stick
if i'm not mistaken
it should be sda<number>
If you want it to be automatically picked up, one way is to upgrade to a 2.6 kernel (there's one in the Slackware ftp packages section, under "testing"), and then install dbus, hal and ivman. At least this is how I do it in Gentoo.
Another popular method that has been posted on here is to use autofs - if you search for that in the forum archives you should find plenty of information on how to set it up.
do a "dmesg |grep usb " or dmesg |more and scroll down and see what device is assigned.
if u dont have a scsi or sata disk most of the time the usb will be /dev/sda1, i hope ue usb will be vfat and u have a /mnt/usb dir. with all these im mind i will edit the fstab as
Code:
/dev/sda1 /mnt/usb vfat noauto,rw,umask=000 1 0
now plug the usb in and do a mount command (mount /mnt/usb)or click on the relevent icon in "mycomputer"
note: if /dev/sda1 is not the device then /dev/sda2 or /dev/sdb1 may be then edit fstab like that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.