meyer@mimsy.UUCP (John R. Meyer) (06/04/89)
Hello -- I am running SCO XENIX-286 2.2.1 on an IBM PC-AT. In the /etc/default/boot file made for bootable root floppy disk filesystems, "mkdev fd" makes the following entries: swplo=1144 nswap=1000 I cannot seem to find what these mean in the boot(HW) manual page. If you know, could you please send e-mail? Thanks, John -- John R. Meyer Domain: meyer@mimsy.umd.edu 10208-C Ashbrooke Ct. Path: uunet.uu.net!mimsy!meyer Oakton, VA 22124 USA Phone: (703) 644-3944 (O) Disclaimer: The views expressed are my own. (703) 281-5157 (H)
jim@applix.com (Jim Morton) (06/07/89)
In article <17874@mimsy.UUCP>, meyer@mimsy.UUCP (John R. Meyer) writes: > > swplo=1144 nswap=1000 > > I cannot seem to find what these mean in the boot(HW) manual page. These are holdovers from the old Microsoft Xenix where you could not change swap after the OS install like you can with divvy and boot in SCO Xenix. They are the starting block address, and total number of 1k blocks, respectively, in the swap area. In SCO Xenix the swap partiton is a separate divvy partition, so for example if your swap partition is the second divvy partition on your first hard disk, /dev/swap would be major #=1, minor #=41. If divvy showed the difference between first block and last block to be 6000, nswap would be 6000 and swplo would be 0. Remember that unlike Xenix filesystem blocks, these are 1k blocks so 6000 blocks=6 megabytes. If you wanted to change your swap space to second hard drive, run divvy -b 1 -c 1 -p 1 and add a partition called swap, edit /etc/default/boot and add "swapdev=hd(104)" (104=first divvy partition on second hard drive). I forget if divvy does new mknods for you - if not, rm /dev/*swap, then mknod /dev/swap b 1 104 and mknod /dev/rswap c 1 104, chmod 600 /dev/*swap. NOTE: I think specifying an alternate swap device via the boot line was broken in Xenix 2.2.1 and fixed in 2.2.3. -- Jim Morton, APPLiX Inc., Westboro, MA ...uunet!applix!jim jim@applix.COM