LinuxQuestions.org
Review your favorite Linux distribution.
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 02-21-2002, 07:01 PM   #1
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Rep: Reputation: 15
CD-ROM.desktop on KDE desktop / mounting drives as users


on my desktop in KDE, there's an icon for CD-ROM. I can click on it and open my cd rom drive when I haven't logged in as root and mounted the filesystem. I know i don't have an automounter installed, and i'm wondering how the icon mounts /dev/cdrom without root privelages. i used the cat command on it, and it just described a link to /mnt/cdrom, which would explain things if I had already mounted /dev/cdrom, but this icon works even after i UNmount. Why does this icon work, or rather how does it work?

while i'm on the topic of drive mounting, how can i set up my sytem to make the cdrom and floppy drives user mountable? I tried changing the permissions on the block devices /dev/hdb (my cdrom) and /dev/fd0, but mount just says that only root can mount. umount says only root can unmount. how can i make my drives user-mountable?
 
Old 02-21-2002, 09:36 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
The icon works by reading /etc/fstab. To make it user mountable edit your fstab, here is a line from mine,
Code:
/dev/hdc       /cdrom      iso9660 ,users,noauto,ro 0    0
The "users" part is what you need.
 
Old 02-22-2002, 09:07 PM   #3
theabyyss
Member
 
Registered: Aug 2001
Location: CT
Distribution: Debian Sarge (2.6.9-albooksleep) on a PPC
Posts: 64

Original Poster
Rep: Reputation: 15
thanks for the reply and the info about making drives user-mountable, but HOW does the icon work? i can't find any sort of scripting to read /etc/fstab. for some reason this is driving me nuts not knowing.
 
  


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
KDE Gnome Desktop Menu Edits (right click on desktop) jdier Linux - Software 11 08-03-2006 05:05 AM
Create standard desktop for all users in Gnome and KDE omICron Linux - Newbie 2 05-28-2004 02:11 PM
Drives/devices missing from KDE 3.1.5 desktop uniQ Linux - General 1 01-28-2004 08:24 PM
How can I modify the default desktop/menus for new users (KDE/SUSE9) brunobaptista Linux - Newbie 1 12-22-2003 05:24 AM
Links to CD-ROM drives disappeared from desktop bitpicker Linux - Newbie 3 09-02-2003 07:02 AM

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

All times are GMT -5. The time now is 05:31 AM.

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