On Mon, 2004-06-14 at 15:04, Scorch Burnet wrote:
> 0205 was not available because SWAPGEN detached it.  Then since we
> didn't allow for guests to allocate a V-Disk, SWAPGEN could not build
> one.  However, commenting out the lines that Adam suggested resolved
> this.  So, we added the swapgen command to the profile exec:
> SWAPGEN  0205  30000 ( FBA )
> then created /etc/boot.rc/doswap that looks like:
> /sbin/mkswap /dev/dasd/0205/part1
> /sbin/swapon  /dev/dasd/0205/part1

One thing: you don't need doswap at all.

Just put a line in /etc/fstab:

/dev/dasd/0205/part1    none    swap    sw     0      0

SWAPGEN does the "mkswap" for you, and the line in /etc/fstab will let
Linux do the swapon at boot.

Adam

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to