home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.sysv386
- Path: sparky!uunet!maxed!ed
- From: ed@maxed.amg.com (Ed Whittemore)
- Subject: Re: ISC 2.2 (Sys V Rel 3.2) Adding Swap?
- Message-ID: <Bxw6sn.Gn2@maxed.amg.com>
- Organization: American Micro Group, Ft. Lee NJ
- References: <1dbrn2INN9ch@iskut.ucs.ubc.ca> <BxAp6y.4Mr@maxed.amg.com> <1992Nov11.235250.11604@wixer.cactus.org>
- Date: Wed, 18 Nov 1992 03:24:17 GMT
- Lines: 41
-
- In article <1992Nov11.235250.11604@wixer.cactus.org> george@wixer.cactus.org (George Wenzel) writes:
- >In article <BxAp6y.4Mr@maxed.amg.com> ed@maxed.amg.com (Ed Whittemore) writes:
- >>In article <1dbrn2INN9ch@iskut.ucs.ubc.ca> stlouis@unixg.ubc.ca (Phill St. Louis) writes:
- >>>I have read the manual and the 386 FAQ, and my question was not answered, so...
- >>>
- >>>When adding a second disk to an ISC Sys V Rel. 3.2 machine, in the partitioning,
- >>>the screen comes up with a partition for swap. Does this work for adding
- >>>extra swap? It seems too simple to believe. I have previously added disks
- >>>to a Sun and the documentation for SunOs states very clearly how to do it,
- >>>but the ISC docs are lacking in info about this stuff.
- >>>
- >>
- >>It works. When you're done, type `swap -l` and see what you get.
- >
- >Almost but not quite. Read the man-page for swap. Simply creating the
- >partition does not add it to the swap space... there is a swap command you
- >need to execute, and put in your rc3.d somewhere.
- >
- >The command is "swap -a /dev/dsk/1s1 0 123456"... where /dev/dsk/1s1 is the
- >device, 0 is the starting block, and 123456 is the length.
- >
- >If you look in /etc/partitions for the swap areas, you can find the above
- >numbers for the device (the first digit is the drive number, than an s,
- >then one more digit indicating the partition number).
- >
- >Be sure to get the length correct... swap won't check, so you could trash
- >something.
- >
- Sorry, I didn't mean to imply you that you don't
- need to explicitly add the swap space--you do.
-
- The best place for your swap file to automatically add swap partitions on
- boot is in /etc/rc.d, where the file named swap might have a line or
- 2 like:
-
- swap -a /dev/dsk/1s2 0 22528
- swap -a /dev/dsk/c0t2s2 0 49152
-
- --
- Ed Whittemore uunet!maxed!ed ed@maxed.amg.com
- American Micro Group, Inc. 201-944-3293
-