Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 19:41:59 -0800
From:      Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        HATANOU Tomomi <hatanou@infolab.ne.jp>
Cc:        petef@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/32060: New port: mkfile(8) for FreeBSD 
Message-ID:  <200112250342.fBP3gYL02181@cwsys.cwsent.com>
In-Reply-To: Your message of "Tue, 25 Dec 2001 12:36:28 %2B0900." <200112250336.MAA89349@mercury.infolab.ne.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200112250336.MAA89349@mercury.infolab.ne.jp>, HATANOU 
Tomomi writes
:
> >Is this necessary?  I mean, the port works for me in making a file, but how 
> is
> >this useful?  I can't swapon(8) a regular file, I don't know what else I'd d
> o
> >with it.
> 
>   On FreeBSD, we have to use vn(4) interface to swap on
> regular files.  vnconfig(8) with 'swap' option can be
> used instead of swapon(8), as seen in vnconfig(8) manual
> pages.
> 
>   In addition, FreeBSD systems can serve swap files to
> other systems, such as SunOS, over NFS.  In such
> situations, mkfile(8) will help system administrators, I
> think.

You can do the same thing with dd, e.g.

	dd if=/dev/zero of=file count=100 bs=1m

What will mkfile do that dd won't?


Regards,                         Phone:  (250)387-8437
Cy Schubert                        Fax:  (250)387-5766
Team Leader, Sun/Alpha Team      Email:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, ITSD
Ministry of Management Services
Province of BC
                    FreeBSD UNIX:  cy@FreeBSD.org




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




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