LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-24-2006, 03:36 AM   #1
dass
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Pen drive, how detect automatically


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.
 
Old 07-24-2006, 03:52 AM   #2
syahid
Member
 
Registered: Jan 2004
Distribution: Slackware For Slackers
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by dass
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>

correct me if i'm wrong.
 
Old 07-24-2006, 03:59 AM   #3
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
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.
 
Old 07-24-2006, 05:50 AM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 34
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.
 
Old 07-25-2006, 03:59 AM   #5
dass
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
ok thank's
 
Old 07-25-2006, 05:00 AM   #6
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
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
 
Old 07-25-2006, 06:44 AM   #7
ferradura
Member
 
Registered: Jun 2006
Location: PT
Distribution: CRUX & Slackware
Posts: 100

Rep: Reputation: 15
Thumbs up

PT sempre em grande!
o post anterior explica bem o que tens que fazer...

take care!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kingston pen drive apffal Suse/Novell 3 02-14-2006 07:13 AM
Pen Drive like on XP La Dima Fedora 1 08-28-2005 05:38 AM
Detect automatically USB flashdisk intmail Slackware 1 07-20-2005 10:17 AM
Mounting Pen Drive coolfrog Linux - General 4 09-09-2004 09:10 AM
USB Pen Drive rlculver Linux - Hardware 1 11-08-2003 09:30 AM


All times are GMT -5. The time now is 02:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration