Skip to Content
Solaris™ 8 System Administrator's Reference
book

Solaris™ 8 System Administrator's Reference

by Janice Winsor
September 2000
Beginner content levelBeginner
1312 pages
33h 47m
English
Pearson
Content preview from Solaris™ 8 System Administrator's Reference

mkfile — Create a File

Synopsis

/usr/sbin/mkfile [-nv] size [k | b | m] filename...
					

Description

As system configurations change and new software packages are installed, you may need to add more swap space. The preferred way to add more swap space is to use the mkfile command to create the swap file and then activate the swap file with the swap command. You should also add an entry for the swap file to the /etc/vfstab file so that it is automatically activated when the system is booted.

Use the mkfile command to create one or more files that are suitable for use as NFS-mounted swap areas or as local swap areas. When a root user executes mkfile(), the sticky bit is set and the file is padded with zeros by default. When non-root users execute ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential System Administration Pocket Reference

Essential System Administration Pocket Reference

Æleen Frisch

Publisher Resources

ISBN: 0130277010Purchase book