Difference between /dev and devices


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Difference between /dev and devices
# 1  
Old 03-30-2012
Difference between /dev and devices

Please explain me the difference between /dev and devices..

Googled info is -
/dev - where logical device names stores here
devices - physical device info stores here...

Could any one explain me.. the real difference and major one
# 2  
Old 03-30-2012
hi

think you should read these:
Linux System Administrator's Guide - The /dev directory
http://www.cyberciti.biz/faq/underst...-device-files/
Remember that in Linux, devices are treated like files and you can read and write devices like they were files.

in console type in:
whereis dev/
whereis devices/

is the output the same?
Smilie

Last edited by me.; 03-30-2012 at 07:24 AM..
# 3  
Old 04-03-2012
thanks me.. Smilie

really links helped me to understand the difference..
# 4  
Old 04-03-2012
glad I could help Smilie

linux is great, I absolutly prefer linux over windows even when something dont work and need to put some effort to make it running...

and its always so much to learn Smilie
good we have forums

Good Luck!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

2. AIX

Difference between /dev/hdisk and /dev/rhdisk

Hi, How can i check that i am using RAW devices for storage in my AIX machine... Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number eg: dcback1(root):/dev>ls -lrt | grep disk12 crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies

3. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

4. AIX

/dev/rmt devices are missing

Hello, I attached a tape drive to one of my partitions but i cannot find the device. I run the command lsdev|grep rmt but i dont get anything in return. When i run lsslot -c slot i can see the slot number and the device that belongs to the tape drive but i cannot find any rmt files in /dev.... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

5. Linux

Re: The function of /dev/modules/ and PCI devices

Hello all, I am using openSUSE 11.1 and have an issue with my wireless adapter which I am trying to understand and fix. I just have a quick question about the following image: (It was the output of the lspci command) Why are there two modules being loaded? (ath5k and ath9k) is this a... (2 Replies)
Discussion started by: septima.pars
2 Replies

6. AIX

Difference between tty and console devices ?

Hi, What is the diference between these two ? thanks Vilius (3 Replies)
Discussion started by: vilius
3 Replies

7. UNIX for Dummies Questions & Answers

/dev X /devices

Hi folks, I am trying to learn Unix based in Linux... In Linux, in /Dev are files related to cards, mouse, etc.. how about Unix? What is the difference between /Dev and /Devices? Thanks, Fernanda (0 Replies)
Discussion started by: ffpradella
0 Replies

8. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

9. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

10. AIX

/dev/rmtx.x devices

Hi, just wondering what the /dev/rmt0.x devices relate to. I assume some are no rewind/compression etc but can't seem to find a man page which tells you which one is which. Can anyone help? Thnx (0 Replies)
Discussion started by: backslash
0 Replies
Login or Register to Ask a Question