Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2000 08:30:05 -0700 (PDT)
From:      Jim Pirzyk <Jim.Pirzyk@disney.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Fwd: Re: bin/21789: no mkfile command
Message-ID:  <200010091530.IAA09075@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/21789; it has been noted by GNATS.

From: Jim Pirzyk <Jim.Pirzyk@disney.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Fwd: Re: bin/21789: no mkfile command
Date: Mon, 9 Oct 2000 08:19:42 -0700

 --Boundary-=_qmZrHLajoetbkwlTZTViemHPfybp
 Content-Type: text/plain
 Content-Transfer-Encoding: 8bit
 
 
 The command not only creates a file, but also creates it with a certain
 size > 0.  I have included the SunOS man page to see how it is used.
 
 - JimP
 
 
 ----------  Forwarded Message  ----------
 Subject: Re: bin/21789: no mkfile command
 Date: Sat, 7 Oct 2000 07:38:55 -0700 (PDT)
 From: johan@FreeBSD.org
 
 
 Synopsis: no mkfile command
 
 State-Changed-From-To: open->feedback
 State-Changed-By: johan
 State-Changed-When: Sat Oct 7 07:33:29 PDT 2000
 State-Changed-Why: 
 Hi Jim
 What should the mkfile command do?
 
 If the command should just create an empty file try 'touch'.
 
 If not please describe the purpose of the command.
 
 Or even better send an implementation of the command and a man page
 as a follow-up to this PR, by sending mail to
 FreeBSD-gnats-submit@freebsd.org
 with the subject of this mail as subject.
 
 Thanks
 Johan K
 
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=21789
 -------------------------------------------------------
 
 -- 
 --- @(#) $Id: dot.signature,v 1.9 2000/07/10 16:43:05 pirzyk Exp $
     __o   Jim.Pirzyk@disney.com -------------------------------------
  _'\<,_   Senior Systems Engineer, Walt Disney Feature Animation 
 (*)/ (*)  
 
 --Boundary-=_qmZrHLajoetbkwlTZTViemHPfybp
 Content-Type: text/english;
   name="tmp.dat"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename="tmp.dat"
 
 
 
 
 Maintenance Commands                                   mkfile(1M)
 
 
 
 NAME
      mkfile - create a file
 
 SYNOPSIS
      mkfile [ -nv ]  _=08s_=08i_=08z_=08e  [ k | b  | m ]  _=08f_=08i_=08=
 l_=08e_=08n_=08a_=08m_=08e ...
 
 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 kilobytes, blocks, or megabytes, with the  k,  b,
      or m suffixes, respectively.
 
 OPTIONS
      -n    Create an empty _=08f_=08i_=08l_=08e_=08n_=08a_=08m_=08e. 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       |
     |______________________________=08|______________________________=08|
     | Availability                | SUNWcsu                     |
     |______________________________=08|______________________________=08|
 
 
 SEE ALSO
      chmod(1), swap(1M), attributes(5), largefile(5)
 
 
 
 
 
 
 
 
 
 
 
 
 
 SunOS 5.8           Last change: 16 Sep 1996                    1
 
 
 
 
 --Boundary-=_qmZrHLajoetbkwlTZTViemHPfybp--
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010091530.IAA09075>