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 01-05-2016, 05:31 PM   #16
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241

I used to work almost exclusively on mainframe UNIX servers... downtime was NOT allowed - except at a specified monthly preventative maintenance period. And those periods could be removed at the drop of a hat. Desktop systems were treated pretty much the same - they would get even less maintenance - and still had to be up and running for months at a time. UNIX could do that, Linux as well...

tmpfs has its uses - the first use (though it wasn't called tmpfs) was for file locking. Using ram for a small filesystem was MUCH faster for handling and recovering locks. A system reboot always restored the locks to a known state.
 
Old 10-19-2016, 12:45 PM   #17
parsley42
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
My fix for /tmp not mounting

Not sure why this is the case, but 'systemctl unmask tmp.mount' - which left tmp.mount disabled - allowed my fstab entry to work. This is on CentOS 7. (I, too, and working on a mostly CIS-compliant install).
 
Old 10-19-2016, 02:51 PM   #18
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,602

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by parsley42 View Post
Not sure why this is the case, but 'systemctl unmask tmp.mount' - which left tmp.mount disabled - allowed my fstab entry to work. This is on CentOS 7. (I, too, and working on a mostly CIS-compliant install).
The only thing I can think of is that systemd was using some stored state and not regenerating it when the fstab entry was added. Mask/reboot/unmask may have forced it.
 
  


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
mount var or tmp as separate partition ron7000 Linux - Security 6 09-26-2015 12:30 AM
Can't get mount to work in /etc/init.d/rc.local or fstab Bozrdang Linux - Newbie 4 09-01-2010 11:09 AM
mount /home, /var and /tmp to the same partition Kwahab Linux - Software 7 10-14-2009 02:14 AM
changing /tmp mount on fstab file with noexc emymcse Linux - Newbie 1 12-16-2007 06:54 PM
Mount LOCAL hdd with Novell Volume on it saavik Linux - Networking 2 02-07-2006 05:17 AM


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