From owner-freebsd-hackers Sat Apr 1 22:30:09 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA24290 for hackers-outgoing; Sat, 1 Apr 1995 22:30:09 -0800 Received: from violet.berkeley.edu (violet.Berkeley.EDU [128.32.155.22]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA24284 for ; Sat, 1 Apr 1995 22:30:08 -0800 Received: by violet.berkeley.edu (8.6.10/1.33r) id WAA24567; Sat, 1 Apr 1995 22:29:57 -0800 Date: Sat, 1 Apr 1995 22:29:57 -0800 From: jkh@violet.berkeley.edu (Jordan K. Hubbard) Message-Id: <199504020629.WAA24567@violet.berkeley.edu> To: hackers@FreeBSD.org Subject: any interest? Sender: hackers-owner@FreeBSD.org Precedence: bulk Newsgroups: comp.unix.bsd.freebsd.misc Path: agate!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!news.belwue.de!delos.stgt.sub.org!guru.stgt.sub.org!nils From: nils@guru.stgt.sub.org (Cornelis van der Laan) Subject: Re: Can I use swapfiles? Reply-To: nils@ims.uni-stuttgart.de Sender: news@guru.stgt.sub.org (News pseudo-user) Nntp-Posting-Host: localhost.ims.uni-stuttgart.de Organization: Mehr Anarchie ! Message-ID: References: <3k0c20$3bm@Starbase.NeoSoft.COM> <3k2aek$5is@gatekeeper.cognos.com> <3k2m4m$e2e@Starbase.NeoSoft.COM> <3ku3h5$jeu@ixnews2.ix.netcom.com> <3kv3v0$jq7@park.uvsc.edu> In-Reply-To: Terry Lambert's message of 24 Mar 1995 18:44:48 GMT Date: Sat, 1 Apr 1995 22:29:17 GMT Lines: 83 In article <3kv3v0$jq7@park.uvsc.edu> Terry Lambert writes: > The way to create swapfiles is to use the command: > > dd if=/dev/zero count=XXX,bs=YYY of=my_swap_file > > Where you replace XXX and YYY with whatever you want to get any > size of swap file. The usual way under SunOS is 'mkfile 4m /some/file'. This way no disk blocks are allocated until they are actually needed. Here is a clone implementation of mkfile, done by Robert Claeson (prc@erbe.se). begin 644 mkfileclone.shar.gz M'XL("./2?2\``VUK9FEL96-L;VYE+G-H87(`K5EI5]M(%OUL_8IG)QW;Q'N` M[M@A)X20;GH@Y`#I>";-T+)VK';IS!225C^C^?X]J@\4XD0=CD6U[&,0N^V_%',W(5LB5"U,-ARHJ"< M)*&(R\H.L&]:_FC/W&C<"F:J%;E>U%2Q'8N6&"=E.?.P=J:\,A9Z3CFP;[V@ M/)..]5I&09_P[860(]%2@FIGT4C(F`Y\6Z@HK%MOQ%Q-983M?;+]N*6B1#I" M6>?)Z&_AQ'W:I_.%BD5`?U!P/?%\08X?A<(Z$4K94]$\>M6G9]W=W>T7;N*/ M[5:JZ;GU"O;UJ;M#ORU0K]OO/NGW=NG7DPOK5$[MT/MHQUX4]NGP[.4A MO=J_V*?]EPWZW983V_?M!IW/Q5B$UK$7"IC7^WG7LJP+UU.$'WMIEQ?,?!&( M,-;B*)I0[`JJ&',KA%@&=C@F+T2LQXDCQI87TCFL.O$<&2DM1E5YY/2'(N0^#T6BN,?\1L=ADXD!9TD?NP!\R23,&2C(,]Z=[(_ M!#+6$]D@*7QA(V^]5N]O8_Z;U^<-+5RY$1#,VZ680+(%@:S*.)+"1(<<)6![ M@4[*2!L[@Y(12D,+Q#SKB*U<%WN_?_'HHJKH_(^C5^QDI+UL:&M\,\`RWJ` M]>+64SJ@/*+H_='Q,<<@`KC21.EEVEIMF1.A%+Q0]3'JBW"*`%$0P4KSA';` M9C3UDWZL??W:@^UXNKTN->6\*9O\0R>(H3&:)Y_N](J39X?[KTX.]53OZ7:G M.&5<;3GPP@-DH\1QJ??\49?N:#*58D;5#TT[<"ZK])S:8W'3#A/?MQ@T(5V< MOCOX;4_OL4CXR'PZ(A-A33SHVRL^N8VKPWN6<-R(*K?41+1C:3LZWOGBV@5& MZQ5+H1"JJOWO8;M=I6?/J'K^V_[9U>'I:S8M7_WHD35\@)]E0,SK031;H.;< MF#1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