Sponsored Content
Operating Systems HP-UX Could I mount a swap/dump partition on /tmp? Post 302407121 by pludi on Wednesday 24th of March 2010 03:01:54 PM
Old 03-24-2010
No, you can't, as the swap space does not contain a file system. It's just a secondary process space, completely managed by the kernel, and any information about it's contents are lost on the next reboot latest, or when you decide to stop and re-enable the swap space.

You can, however, use the free command to monitor swap space using swapinfo.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Swap Partition Space

first of all, sorry about my english...I´m a spanish newbie to this marvelous OS and i have just a couple of doubts...u know? :-) 1) how big should my swap partition be if i installed debian 2.2r3 or FreeBSD 4.x on a AMD k7 1400Mhz with 512Mb of Random Access Memory? i heard that those OS... (1 Reply)
Discussion started by: I[X]ION
1 Replies

2. UNIX for Dummies Questions & Answers

Linux Swap Partition

How big do I set the swap partition when i'm setting up my hard drive to install RedHat. (Using Partition Magic) thanks! primal (2 Replies)
Discussion started by: primal
2 Replies

3. Linux

swap partition?

What does a swap partition do exactly? I was messing arround with a linux machine at my school and i deleted the swap partition using fdisk and then rebooted the machine and it worked fine and wrote a swap partition back in...lol. Is it a nessary part of the OS to use that partition? (7 Replies)
Discussion started by: byblyk
7 Replies

4. Solaris

Increase size of /tmp swap File

Hi Guys I need to increase the size of my /tmp swap file. What is the easiest way to do this. Thanks Carson (2 Replies)
Discussion started by: cmackin
2 Replies

5. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

6. Solaris

/tmp: File system full, swap space limit exceeded

Can you help. My server sunning solaris 9 on x86 platform pretty much hung for a few hours... I could not use telnet or ssh to the box - it kept refusing connection. A few hours later - I was able to log in again. The server has not rebooted but here are the first errors in the messages log... (5 Replies)
Discussion started by: frustrated1
5 Replies

7. Solaris

/tmp as swap

So with solaris 10 are people not using the old /tmp as a regular UFS filesystem and making /tmp part of swap or tmpfs... what are peoples thoughts on this? (5 Replies)
Discussion started by: csaunders
5 Replies

8. Shell Programming and Scripting

how to mount swap on /tmp?

Hi all, I would like to know how to mount swap on /tmp at boot time? I mean i would like to know the exact commands... i will be implementing it on a distro of opensolaris ,belenix. is it the same as other mounts ? because when i surfed the net it was a little different and also since its... (0 Replies)
Discussion started by: wrapster
0 Replies

9. Filesystems, Disks and Memory

Partition 1 swap not mounting ?

Hi, running mount, I get the following, no part1 swap as part1 swap has been created and is listed below. System works fine anyway. As I cannot unmount part1, what is a standard procedure to make part1 on. Jack ============= .. $ free total used free shared buffers cached Mem:... (2 Replies)
Discussion started by: jack2
2 Replies

10. Solaris

Solaris full /tmp - du and df different swap NOT filled

Hello all, The issue is # df -h /tmp Filesystem size used avail capacity Mounted on swap 4.0G 4.0G 8.7M 100% /tmp # du -sh /tmp/ 87M /tmp By now you probably will say that this is open file destriptor issue. Well no, nothing... (2 Replies)
Discussion started by: click
2 Replies
SYSTEMD-GPT-AUTO-GENERATOR(8)				    systemd-gpt-auto-generator				     SYSTEMD-GPT-AUTO-GENERATOR(8)

NAME
systemd-gpt-auto-generator - Generator for automatically discovering and mounting /home as well as discovering and enabling swap partitions, based on GPT partition type GUIDs. SYNOPSIS
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator DESCRIPTION
systemd-gpt-auto-generator is a generator that automatically discovers /home and swap partitions and creates mount and swap units for them, based on the the partition type GUIDs of GUID partition tables (GPT). Note that this generator will execute no operation on non-GPT systems, on systems where the units are explicitly configured (for example, listed in fstab(5)) or where the mount point is non-empty. This generator will only look for partitions on the same physical disk the root file system is stored on. This generator has no effect on systems where the root file system is distributed on multiple disks, for example via btrfs RAID. This generator is useful for centralizing file system configuration in the partition table and making manual configuration in /etc/fstab or suchlike unnecessary. This generator looks for swap partitions using GPT type 0657fd6d-a4ab-43c4-84e50933c84b4f4f. It looks for /home partitions using GPT type 933ac7e1-2eb4-4f13-b8440e14e2aef915. systemd-gpt-auto-generator implements the generator specification[1]. SEE ALSO
systemd(1), systemd.mount(5), systemd.swap(5), systemd-efi-boot-generator(8), fstab(5) NOTES
1. generator specification http://www.freedesktop.org/wiki/Software/systemd/Generators systemd 208 SYSTEMD-GPT-AUTO-GENERATOR(8)
All times are GMT -4. The time now is 05:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy