LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2006, 07:31 AM   #1
zener
Member
 
Registered: Jul 2005
Location: Greece
Distribution: Mandrake 10.1 , Ubuntu 5.1
Posts: 59

Rep: Reputation: 15
Linux PlugnPlay in MP3 player?


Is there a way to auto-mount removable device such as mp3 players, USB flash drives or digital cameras?

What I mean is instead of, after plugging it in, typing:


#fdisk -l
#mount /dev/sde /home/billy/flash

(something else: how can I set a specific user to do this without needing root access?)

what changes must I apply to the system (from console) in order just to plug the device in and then being able to access it with rwx priviledges from KDE?

I saw this in a PC using Gentoo with GNOME
 
Old 04-05-2006, 08:04 AM   #2
gloomy
Member
 
Registered: Jan 2006
Location: Finland
Distribution: Mainly Gentoo
Posts: 119

Rep: Reputation: 15
In KDE you generally require hal and dbus deamons to run in your preferred runlevel. You may check this, e.g., by running

Code:
ps -e | grep hal
ps -el | grep dbus
You also require some application for the automatic mounting (Ivman is one) but if you're using Mandrake, I might assume that all of these are included in the default install. For mp3 players the new Amarok (1.4 beta) could be useful as it can handle mounting of these devices.

Something else: edit your /etc/fstab file and add the device with appropriate options. Thus, your fstab might look like this for an instance:

Code:
/dev/sda1   /mnt/usb   vfat  noauto,user   0 0
"Man mount" says that the option 'user' allows an ordinary user to mount the file system (it implies also the options noexec, nosuid, and nodev).
 
  


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
S1 Mp3 player (Help Create a New Distro for an MP3 player!)) Ian_Hawdon Linux - General 3 12-05-2005 02:14 PM
linux mp3 player box xrado Linux - General 1 10-31-2005 02:10 PM
mp3 Player in Linux Hjulvisp LinuxQuestions.org Member Success Stories 1 06-07-2004 05:00 PM
MP3 CD player can't read MP3 CD's burned in linux food188 Linux - Software 2 01-11-2004 05:55 PM
What's the BEST Linux MP3 player? thenebula Linux - Newbie 11 10-17-2003 12:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration