IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1M > mkfile man page

mkfile man page

Section 1M - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





System Administration Commands                         mkfile(1M)



NAME
     mkfile - create a file

SYNOPSIS
     mkfile [-nv] size [g | k | b | m]   filename...

DESCRIPTION
     mkfile creates 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  mkfile(), they must manually  set  the  sticky  bit
     using  chmod(1). The default size is in bytes, but it can be
     flagged as gigabytes, kilobytes, blocks, or megabytes,  with
     the g, k, b, or m suffixes, respectively.

OPTIONS
     -n       Create an empty filename. The size  is  noted,  but
              disk blocks are not allocated until data is written
              to them. Files created with this option  cannot  be
              swapped over local UFS mounts.



     -v       Verbose.  Report the names  and  sizes  of  created
              files.



USAGE
     See largefile(5) for the  description  of  the  behavior  of
     mkfile  when  encountering  files greater than or equal to 2
     Gbyte ( 2**31 bytes).

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|


SEE ALSO
     chmod(1), swap(1M), attributes(5), largefile(5)








SunOS 5.10           Last change: 2 Feb 2001                    1





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:26:15 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5334 hits)
(openSUSE 10.2)

svn man page (5209 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (4870 hits)
(Solaris 10 11_06)

CPAN man page (4607 hits)
(Suse Linux 10.1)

ssh man page (4342 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2884 hits)
(Solaris 10 11_06)

netcat man page (2717 hits)
(Suse Linux 10.1)

pprosetup man page (2492 hits)
(Solaris 10 11_06)

startproc man page (2471 hits)
(Suse Linux 10.1)

signal man page (2408 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Ski Resorts :: Electronic Consultancy, UK :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum