[ale] "mkfile" ?

Robert L. Harris Robert.L.Harris at rdlg.net
Tue Aug 14 15:17:44 EDT 2001




Chris: next time I'm in atlanta I gotta buy you a few drinks, you always come
through with a nice clean answer.  Got so set on "mkfile" I didn't even think
of dd...  One day my brain will work again!!!!



Thus spake Chris Fowler (ChrisF at computone.com):

> dd if=/dev/zero of=/dev/SwapFile_01 bs=1024k count=256
> mkswap -v1 /dev/SwapFile_01
> sync
> swapon /dev/SwapFile_01
> 
> -----Original Message-----
> From: Robert L. Harris [mailto:Robert.L.Harris at rdlg.net]
> Sent: Tuesday, August 14, 2001 3:13 PM
> To: Atlanta Linux Enthusiasts
> Subject: [ale] "mkfile" ?
> 
> 
> 
> 
>   I'm looking at making a file, 256Meg or the like to turn into swap space
> on an existing system.  On my suns I can' just do a:
> 
> mkfile 256M SwapFile_01
> 
> Can Linux currently use a file on the root partition as swap space?  Is
> there an equiv to mkswap?
> 
> 
> :wq!
> ---------------------------------------------------------------------------
> Robert L. Harris                |  Micros~1 :  
> Senior System Engineer          |    For when quality, reliability 
>   at RnD Consulting             |      and security just aren't
>                                 \_       that important!
> DISCLAIMER:
>       These are MY OPINIONS ALONE.  I speak for no-one else.
> FYI:
>  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message
> body.



:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list