LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-26-2012, 01:35 AM   #1
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Rep: Reputation: 2
why it didn't say that a tmpfs was mounted on /dev


I found that the whole /dev is of tmpfs filesystem type, while when we type mount, we didn't find a tmpfs mounted on /dev, it is mounted on /dev/shm
can anyone tell me what's going on?
Thanks.
 
Old 12-26-2012, 07:57 AM   #2
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

Please post your /etc/fstab
 
Old 12-26-2012, 10:30 AM   #3
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,770

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
/dev/shm is a different tmpfs. /dev may be of type "devtmpfs", and is frequently not shown by the mount command. If you look at the output from "cat /proc/mounts" you should see it, perhaps more than once.
 
Old 12-26-2012, 11:49 PM   #4
dspjm
Member
 
Registered: Dec 2010
Distribution: Scientific Linux Slackware
Posts: 91

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by rknichols View Post
/dev/shm is a different tmpfs. /dev may be of type "devtmpfs", and is frequently not shown by the mount command. If you look at the output from "cat /proc/mounts" you should see it, perhaps more than once.
That's how I see the thing after I have looked up some information, mount command print the content of /etc/mtab, mtab is maintained by mount. Because the devtmpfs and rootfs devices are mounted at boot phase before kernel calls mount to mount fstab, so, they are not shown in mtab as well as mount.
when I use the stat -f command on /dev, it says the filesystem is tmpfs, while it is not. As well as /.
 
  


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
/dev/shm (tmpfs) file system stops working GreyBeard Linux - Software 5 08-13-2012 04:36 PM
Why so many "tmpfs" mounted? One is mounted on /media -- why? SharpyWarpy Fedora 6 03-13-2012 12:15 AM
Verify CUPS print queue file system type when mounted via C program code as tmpfs. djpeckma Linux - Newbie 0 05-27-2011 02:24 PM
tmpfs /dev/shm - file deletion and size determination bgeary Red Hat 4 05-12-2010 07:56 AM
Tmpfs on /dev/shm kundor Linux - General 6 03-11-2007 10:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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