Date: Tue, 25 Dec 2001 13:03:20 +0900 From: HATANOU Tomomi <hatanou@infolab.ne.jp> To: Cy Schubert - ITSD Open Systems Group <Cy.Schubert@uumail.gov.bc.ca> Cc: petef@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG, hatanou@infolab.ne.jp Subject: Re: ports/32060: New port: mkfile(8) for FreeBSD Message-ID: <200112250403.NAA90516@mercury.infolab.ne.jp> In-Reply-To: Your message of "Mon, 24 Dec 2001 19:41:59 PST." <200112250342.fBP3gYL02181@cwsys.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>You can do the same thing with dd, e.g. > dd if=/dev/zero of=file count=100 bs=1m And then, we have to do chmod(1) 600. mkfile(8) does it. mkfile(8) also can create many files at once, like this: mkfile 2g swap-for-mercury swap-for-venus swap-for-moon swap-for-mars Isn't it useful for system administrators? If you have hundreds of diskless clients, dd then chmod, dd then chmod, dd then chmod, ...? ---- HATANOU Tomomi. 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?200112250403.NAA90516>