LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-10-2014, 05:39 AM   #1
massy
Member
 
Registered: Nov 2013
Distribution: CentOS 6.4
Posts: 209
Blog Entries: 1

Rep: Reputation: Disabled
A question about df command


It is the output of this command df /dev
Code:
Filesystem     1K-blocks  Used Available Use% Mounted on
-                1928788   268   1928520   1% /dev
Why doesn't it have Filesystem?

Last edited by massy; 11-10-2014 at 05:55 AM.
 
Old 11-10-2014, 07:40 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,702

Rep: Reputation: Disabled
A lot of what you see under /dev is used by the kernel internally.
These are 'places in space' mainly, not physical entities.

Disks & terminals are the main ones used by an ordinary user.
tty0/tty1/tty2 etc. are your screens where programs run,
& sda1/sda2 etc. are your disks.
 
Old 11-10-2014, 07:54 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,218

Rep: Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687Reputation: 7687
there is no file and/or filesystem under /dev. It is called virtual filesystem (if you want). It means (usually) devices are mapped into /dev and they - the devices can be reached as /dev/something.
for example /dev/tty will mean the current terminal, /dev/mouse the mouse, /dev/sda the first hard disk ....
 
1 members found this post helpful.
  


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
ps command question MarkoSan Linux - Newbie 8 02-22-2013 01:00 AM
ar command question! ss_me Linux - Newbie 1 02-16-2010 03:50 AM
command question simple2 Programming 4 04-09-2006 08:52 PM
Command question satimis Linux - General 8 06-23-2004 03:43 AM
Command Question Siki Linux - General 3 07-29-2003 04:34 PM

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

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