Bug 174000 - Should umount tmpfs before swapoff
Should umount tmpfs before swapoff
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
Blocks: FC5Target
  Show dependency treegraph
Reported: 2005-11-23 10:24 EST by Russell Coker
Modified: 2014-03-16 22:57 EDT (History)
3 users (show)

See Also:
Fixed In Version: 8.26-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-07 07:46:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Russell Coker 2005-11-23 10:24:14 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.92 (like Gecko)

Description of problem:
The contents of a tmpfs file system may be paged out.  Paged out memory is 
paged in at swapoff time, while the contents of a tmpfs are discarded when it 
is umounted. 
Putting "umount -a -t tmpfs" before the swapoff line in /etc/rc.d/init.d/halt 
can potentially save hundreds of megs of data from being needlessly read from 
disk.  This can save battery on a laptop and will save time on any machine 
while not providing any disadvantage. 
If the amount of data stored on the tmpfs file system is greater than the size 
of physical memory then swapoff isn't going to work. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

Additional info:
Comment 1 Miloslav Trmač 2006-02-07 07:46:14 EST
Fixed in initscripts-8.26-1.  Thanks for your report.

Note You need to log in before you can comment on or make changes to this bug.