SWAPLABEL(8) System Administration SWAPLABEL(8)NAME
swaplabel - print or change the label or UUID of a swap area
SYNOPSIS
swaplabel [-L label] [-U UUID] device
DESCRIPTION
swaplabel will display or change the label or UUID of a swap partition located on device (or regular file).
If the optional arguments -L and -U are not given, swaplabel will simply display the current swap-area label and UUID of device.
If an optional argument is present, then swaplabel will change the appropriate value on device. These values can also be set during swap
creation using mkswap(8). The swaplabel utility allows to change the label or UUID on an actively used swap device.
OPTIONS -h, --help
Display help text and exit.
-L, --label label
Specify a new label for the device. Swap partition labels can be at most 16 characters long. If label is longer than 16 charac-
ters, swaplabel will truncate it and print a warning message.
-U, --uuid UUID
Specify a new UUID for the device. The UUID must be in the standard 8-4-4-4-12 character format, such as is output by uuidgen(1).
AUTHOR
swaplabel was written by Jason Borden <jborden@bluehost.com> and Karel Zak <kzak@redhat.com>.
AVAILABILITY
The swaplabel command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO mkswap(8), swapon(8), uuidgen(1)util-linux April 2010 SWAPLABEL(8)
Check Out this Related Man Page
SWAPLABEL(8) Linux Programmer's Manual SWAPLABEL(8)NAME
swaplabel - Print or change the label / UUID of a swap area
SYNOPSIS
swaplabel [-L label] [-U UUID] device
DESCRIPTION
swaplabel will display or change the label / UUID of a swap partition located on device (or regular file).
If the optional arguments -L and -U are not present, swaplabel will simply display the swap area label and UUID of device.
If an optional argument is present, then swaplabel will change the appropriate value of device. These values can also be set during swap
creation using mkswap(8). The swaplabel utility allows to change the label or UUID on actively used swap device.
OPTIONS -h, --help
Print help and exit.
-L, --label label
Specify a new label for device. Swap partition labels can be at most 16 characters long. If label is longer than 16 characters,
swapinfo will truncate it and print a warning message.
-U, --uuid uuid
Specify a new UUID for device. UUID must be in the standard 8-4-4-4-12 character format, such as is output by uuidgen(1).
AUTHOR
swaplabel was written by Jason Borden <jborden@bluehost.com> and Karel Zak <kzak@redhat.com>.
AVAILABILITY
swaplabel is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
SEE ALSO mkswap(8), swapon(8), uuidgen(1)Linux 2 April 2010 SWAPLABEL(8)
I prepare to install linux distros , freebsd and solaris(totally 6 OS) in a 40G harddisk, but I fail to do it, so I would like to ask some question here.
Can different distros share the same linux swap?or each distros need to have their own?
I made 6 partitions(5 x 7G , 1 x 4G) and 256M(I... (8 Replies)
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)
for installing fc4 , or even ubuntu , i got this problem
after booting from vmlinuz and initrd (from both cd and ftp) display i got was very scattered.
I was not able to make out from that display. ( it was a default display of blue window and black background).
I have debian already installed... (6 Replies)
Hi,
I having problem with my linux machine
it have 6Gb physical memory and somehow it always almost coming to the bottom neck and than it start writing to the swap memory
you can see that there is more than 4G in cahce, is there any way to clean the cache or to limit it to 2Gb?
host1... (6 Replies)
I have a rather peculiar problem in the past 2 weeks. I have a network setup with a linux box acting as a gateway (It is exposed to the internet). Also, there are 2 additional machines that are connected to the gateway (and are not exposed to the outside world). (The gateway has a NAT setup to... (5 Replies)
I'm getting a "line too long" error when I try to vi a particular file. I really just need to view the contents as I don't have to change anything. Any suggestions?? I already tried to cat but it didnt work........:( (7 Replies)
If you want to submit your favorite UNIX.COM forum to RSS news feeds registries or directories, here is how:
The top level RSS link to the UNIX forums is:
https://www.unix.com/external.php
This is the default for the RSS type, which is:
https://www.unix.com/external.php?type=RSS
... (11 Replies)
I want to change my ip by not using smitty, could please help me and what to edit files. So that everytime i will restart my server it will not change. (10 Replies)
Sir,
Do linux have device file for ethernet card. Can I use open , read , write , system calls to read data transferred through LAN. Is there any methods to read network datas (with out header and tailor information).
Hope anyone can help me out. Thanking you....
... (5 Replies)
Greetings. I've been into computers since the '80s, but this is my first attempt at Linux.
I'm installing Debian Lenny on a PIII 733 with 10GB hard drive and 512MB Ram. I intend to use the machine primarily as a development server, with things like mySQL, Apache, php, etc.
I don't really want... (22 Replies)
hi every body
i am trying to remove logical volume i configured as a swap device but when i removed by smh i ran " swapinfo" it keeps the device and didn't feel that device removed also i "lvremove /dev/vg01/swapvol" also swapinfo not feel
i want it feel that i reduced the swap without reboot... (4 Replies)
Hi,
I have to swap two consecutive line using sed in a file.
My text to swap is available in the file x.pl
#Create & map a common work library
if (!(-e "../work"))
{
system ("vlib work ../work");
system ("vmap work ../work");
}
system ("vsimsa -do thiagu_dec.do");
In this i... (6 Replies)
Hello people
I have a small fileserver running busybox (very small linux distro with most essential stuff on it) and I am trying to remove some unused directories on it.
When I try this:
rm -R test/I get:
rm: cannot remove 'test': No space left on devicedf shows:
Filesystem ... (8 Replies)
Hi,
On my linux system i find the below two files which occupy good space.
# du -sh /root/myswapfile /swap2
1.1G /root/myswapfile
1001M /swap2
# ls -ltr /root/myswapfile /swap2
-rw-------. 1 root root 1073741824 Jan 27 2017 /root/myswapfile
-rw-------. 1 root root 1048576000 Jan... (11 Replies)