On Wed, Jun 05, 2002 at 10:12:48AM +0530, mukund wrote: > >and half gig HDD, dual partitioned for M$-DOS (Win-3.11) and > >Slack (ver 1.0), on 100 mb of HDD space. I used the Windows > >swap file for Linux swap. I had everything inclusive of X > >running ... > > > Just wondering how win3.11 swap file could be used as linux > swap partition? >
Simple process ... This was documented in the ealry Slack distros which used to be installed from floppies. I had no CDROM nor net access then :-( 1. Mount the M$ partition 2. Win-3.11 swap file has a name (cannot recollect exactly now) 3. #dd if=/dev/zero of=/path/swapfile bs=1024 count=size_of_file 4. #chmod 600 /path/swapfile 5. #mkswap /path/swapfile 6. #swapon /path/swapfile Make a script of above commands and run it as the last thing in rc.local. Do a swapoff in the shutdown scripts ... When running Win, I did get occasional complaints on startup, but things did work on. Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Killing a Process (#1) LOST #055 To kill a running process (app or daemon) : #ps -ae | grep process-name This outputs a number (process-id) and process-name #kill process-id (Note: NOT process-name) ####<[EMAIL PROTECTED]>#################################### : _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
