Date: Sun, 26 Jul 1998 10:25:53 -0700 From: Mike Smith <mike@smith.net.au> To: Jacques Vidrine <n@nectar.com> Cc: Mike Smith <mike@smith.net.au>, hackers@FreeBSD.ORG Subject: Re: swapon, ccd: device not configure, eh what? Message-ID: <199807261725.KAA11006@antipodes.cdrom.com> In-Reply-To: Your message of "Sun, 26 Jul 1998 12:16:09 CDT." <199807261716.MAA08750@bone.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----BEGIN PGP SIGNED MESSAGE----- > > On 26 July 1998 at 10:04, Mike Smith <mike@smith.net.au> wrote: > > The real issue is that dev/ccd/ccd.c:ccdsize() returns -1 for > > partitions that do not have type == FS_SWAP, so you can't swap on > > something that's not marked as a swap partition, and that includes the > > 'c' partition in the case where there is no disklabel on the volume. > > I'll have to look closer, I suppose. I disklabel'd the ccd and > made a b partition marked as swap, but I still get ``device not > configured: ccd1b'' from swapon /dev/ccd1b. Try instrumenting vm/vm_swap.c:swaponvp() and dev/ccd/ccd.c:ccdsize() just to see whether it's being refused there or elsewhere. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807261725.KAA11006>