From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076330121214.tru64-unix-managers.marc@archive.invalid> From: Diane Ibaraki Date: Thu, 07 Mar 1996 19:16:38 +0000 To: tru64-unix-managers Subject: SUMMARY: deferred swap method fails in single user mode... X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076330121214 Thanks to Dr. Tom Blinn, for a quick answer. My original posting is at the end: I searched the archives, I read the release notes but I didn't read the man pages... sorry about that. FYI, I found that if I go to single user mode with the 'init s' command, swap space is there but if I boot single user mode from the console mode, it is not. Also, bcheckrc won't add the swap partition either. The explanation was giving by Dr. Tom Blinn: Not a bug. Exactly how it's supposed to work. Read the swapon(8) man page. Until you run a swapon -a, you don't get access to the swap partitions that are defined in /etc/fstab (unless you do an explicit swapon for one of them or whatever), unless you've got the /sbin/swapdefault link in place; if the link is present, the kernel will activate the named partition as soon as it can do so during the bootstrap process. Otherwise, you have no swap set up until the swapon -a gets executed during the init processing. Tom ----------------------- original posting --------------------------- > I installed DUNIX 3.2c on an DEC 3000/700. Installation went fine. > I changed to deferred swap method by renaming /sbin/swapdefault. In > multiuser mode, swapon shows: > Swap partition /dev/rz8b: > Allocated space: 65536 pages (512MB) > In-use space: 724 pages ( 1%) > Free space: 64812 pages ( 98%) > Total swap allocation: > Allocated space: 65536 pages (512MB) > In-use space: 724 pages ( 1%) > Available space: 64812 pages ( 98%) > However, when I go to single user mode, swapon -s shows 0 swap > space. (I stumbled upon this, when rebuilding the kernel failed due to > the not having swap space). The behavior is the same when I upgraded to > v3.2d. Did I do something wrong or is this a bug?