Mkswap Command Assignment Help

Assignment Help: >> Virtual File System - Mkswap Command

mkswap Command

This command is used to add a swap file.

Syntax

mkswap [device ] [ block ]

The options for the mkswap command:

-c:        Before a swap fileis created CHECKS the device for bad blocks.

-f:        Forcibly makes a swap file.

Let consider the following example to make a swap file:

# mkswap /dev/hda9 2000

mkfile is the command that is used to make a swap file, swap  is the commands that is used to check and activate the swap staus in Solaris.

Syntax:

# mkfile nnn[k/b/m] filename

Let consider the given example to create a swap file:

# mkfile 24m /opt/abc

The swap file of the size nnn(in bytes,  Kbytes, or Mbytes) and the specified name is make

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd