LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-08-2006, 06:39 AM   #1
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
auto-mounting USB drive


The next thing i would like to add to my system is to be able to auto mount say a usb memory stick or external hard drive.
is this easily achieved?

thnks

rj
 
Old 01-08-2006, 07:37 AM   #2
scottlc
LQ Newbie
 
Registered: Dec 2003
Location: Dundee, Scotland
Distribution: Arch Linux
Posts: 13

Rep: Reputation: 0
KDE and GNOME both have the ability to auto-mount volumes provided that you have the DBUS and HAL daemons running.
 
Old 01-08-2006, 01:53 PM   #3
kalleanka
Member
 
Registered: Aug 2003
Location: Mallorca, Spain
Distribution: xubuntu
Posts: 551

Rep: Reputation: 38
hotplugging
 
Old 01-12-2006, 04:50 PM   #4
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
i have gone down the autofs route.

now..

when I cd /mnt/usb1.(my mount point.)

It auto mounts the usb drive ok.I can read and write to files ,however I can't execute a program that I have written there.

I my auto.misc file looks like this

usb1 -fstype=vfat,rw,users,exec,umask=002 :/dev/sda1.

I used this config on my laptop and it worked fine,but i dosn't work on my pc.

my laptop runs 2.4.26 where as my p.c runs 2.6.15.

my lap top uses autofs where as the pc uses autofs4

is this where the difference lies ??
if so How do I resolve?

thnks rj
 
Old 01-12-2006, 04:56 PM   #5
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
4get it..

changed the mount options to default.

seems to have resolved it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto-Mounting USB Flash Drive plehman Linux - Newbie 12 01-05-2009 10:41 AM
auto mounting cd rom drive in Slackware 10 hitest Slackware 5 03-25-2005 07:52 AM
Auto-mounting pen drive jojotx0 Linux - General 3 03-10-2005 09:19 AM
Auto mounting of USB devices leecming Linux - Newbie 6 08-05-2004 02:42 PM
Auto mounting NTFS drive on bootup JellyStones Linux - General 2 02-11-2004 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration