LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-16-2011, 02:47 PM   #1
evermore
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Rep: Reputation: 0
fedora 13


new vps with fedora 13

my fstab

none /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs defaults 0 0



first one works

tmpfs doesn't get mounted....
can't figure out why =\


worked on fedora 10...
 
Old 04-16-2011, 02:58 PM   #2
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 216

Rep: Reputation: 29
You're mounting tmpfs to /dev/shm. Does /dev/shm exist? try "ls /dev/shm" to see if it's there. Perhaps device names have changed since fed 10
 
Old 04-16-2011, 02:59 PM   #3
evermore
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
[root@evermore subsys]# ls -l /dev/shm
total 0
[root@evermore subsys]# ls



yes it exist, there's nothing inside of it though


i ls subsys cuz i touch local

and local does get created, so i know first one works
second one fails to mount tmpfs
 
Old 04-16-2011, 04:08 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
How do you know it's not mounted ?
 
Old 04-16-2011, 04:34 PM   #5
evermore
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
lol because my teamspeak server minimum script fails

error out because tmpfs is not mounted

you can also do mount command

to see what is mounted

and more /etc/mtab i think will show what is mounted and recorded.....


so i am pretty sure it is not mounted...
 
Old 04-16-2011, 10:43 PM   #6
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 216

Rep: Reputation: 29
Quote:
[root@evermore subsys]# ls -l /dev/shm
total 0
That means that it exists?
 
Old 04-16-2011, 11:28 PM   #7
evermore
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by themanwhowas View Post
That means that it exists?


i really hope so man, cuz i just tried the ls on nonexistant directory ? and this is what i got, so i hope i am not wrong ?

[root@evermore ~]# ls -l /dev/themanwhowasireallyreallyreallyreallythinkmyshmdir
existman
ls: cannot access /dev/themanwhowasireallyreallyreallyreallythinkmyshmdirexistman: No such file or directory
[root@evermore ~]#
 
Old 04-17-2011, 12:54 PM   #8
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 216

Rep: Reputation: 29
It's the
Code:
[root@evermore subsys]# ls -l /dev/shm
total 0
that i don't understand. If I ls -l a non existent block device I get the same error as you. If I ls -l an existing one, I get
Code:
[chicken@soup:~]# ls -l /dev/sdb3
brw-rw---- root disk 22, 0 April 17 17:28 /dev/sdb3
So .. idk
 
Old 04-17-2011, 07:01 PM   #9
spazticclown
Member
 
Registered: Sep 2010
Distribution: Fedora, Android, CentOS
Posts: 91
Blog Entries: 2

Rep: Reputation: 21
I have fedora 14 and ls -l /dev/ | grep -i "shm" gets this output.
Code:
$ ls -l /dev | grep -i "shm"
drwxrwxrwt 2 root root 40 Apr 13 01:32 shm
I also show the same mount options for tmpfs in fstab and checked it is mounted via mount.
However I noticed that /dev/pts is mounted differently for me, perhaps that is hanging up the mount process for tmpfs?

Code:
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
 
  


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
Upgrade from Fedora 5 to Fedora 11 with a fedora 11 live CD wolverine047 Linux - Newbie 9 10-02-2009 07:08 AM
http://download.fedora.us/fedora/fedora/3/i386/RPMS.os broken! caps_phisto Fedora 3 02-05-2005 05:16 PM


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