LinuxQuestions.org
Visit Jeremy's Blog.
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 02-25-2009, 12:13 AM   #1
jschnell32
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
I need help with Linux I suck at it: I have some questions that I need answered


In Linux can there be multiple device files per device
 
Old 02-25-2009, 12:26 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

Other than aliases or links?

What are you trying to achieve?


Cheers,
Tink
 
Old 02-25-2009, 01:11 AM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
my guess would be you could, however this would seem inefficient as it would be easier to just create symbolic link to the device node using any name you want, and you can have as many symbolic links pointing to the same device node as you need
(symbolic link is the linux equivalent of the 'shortcut' in windows or the 'alias' in mac-os)

for instance /dev/cdrom isnt usually an actual device node it is usually a symbolic link to the actual device node of your cdrom (/dev/hdX or /dev/srX), but you can access /dev/cdrom as if it were the actual device node

take /dev/cdrom for example
you could do ln -s /dev/sr0 /dev/cdrom which would create a symbolic link, /dev/cdrom that points to /dev/sr0 (the actual cdrom node), and then you could access the cdrom device through /dev/cdrom the same way as if you were using /dev/sr0 directly

Last edited by frieza; 02-25-2009 at 01:15 AM.
 
  


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
need questions answered about nvidia and modules DarkPlexus Linux - Newbie 1 01-05-2009 08:24 AM
LXer: Questions Answered, Questions Posed - What Happened? LXer Syndicated Linux News 0 05-14-2007 03:46 PM
2 simple questions i need answered cooldudejz Ubuntu 4 09-05-2005 12:04 PM
Before I try out Linux, I would like these questions answered. xLunatiK Linux - Newbie 43 08-17-2005 07:12 PM
Very Frequently Asked/Answered Questions ppuru LQ Suggestions & Feedback 7 07-30-2004 02:32 AM


All times are GMT -5. The time now is 03:49 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