LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 10-31-2006, 03:24 AM   #1
bluetux
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Smile how i can findout corresponding device files for a device in RHL


friends plz help me

Is there any tool to find out device files for devices so i can avoid trying all the possible device files while mounting.

expecting valuable replay
 
Old 10-31-2006, 05:15 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,264

Rep: Reputation: 128Reputation: 128
Every recognized device has an associated file in linux. Since you are talking about mounting, I assume you need to know the device file for some block device you are trying to mount. All partitions, whether mounted or not, that your system recognizes can be listed by running the following in a console:

$ su
<enter root password>
# fdisk -l
 
Old 11-04-2006, 06:15 AM   #3
bluetux
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
thank u . one more doubt

thank u . i have one more doubt. if i want to give some commands(like service) to other users (normal) for execution what i have to do ? when i given the execute permission for others and tried to execute from normal user account it shows an error
 
Old 11-04-2006, 06:53 AM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 469

Rep: Reputation: 40
man sudo is the answer.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to open audio device (/dev/dsp): No such device stevesk Slackware 6 01-01-2009 06:29 AM
startx --> (EE) xf86OpenSerial: Cannot open device /dev/input/mice No such device. TB2 Linux - Software 2 04-04-2007 05:11 PM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
ALI-M5451 Laptop Soundcard >>No such device>>Device Not Found>No Pipeline Balarabay1 Linux - Hardware 1 02-21-2006 12:54 PM
UL 1.0 GRUB: could not find device for /boot: not found or not a block device cma Linux - General 4 12-12-2005 03:35 AM


All times are GMT -5. The time now is 03:32 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
Open Source Consulting | Domain Registration