Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 1998 01:39:43 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/6988: swapon succeeds on bogus partitions
Message-ID:  <199806190539.BAA18761@rtfm.ziplink.net>

next in thread | raw e-mail | index | archive | help

>Number:         6988
>Category:       bin
>Synopsis:       swapon succeeds on bogus partitions
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 18 22:40:00 PDT 1998
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

>Description:

	mi@rtfm:pk/pcscreen/public (1088) pstat -s
	Device      1K-blocks     Used    Avail Capacity  Type
	/dev/sd0s1b     32768     9572    23068    29%    Interleaved
	/dev/sd1s1b     65536     9420    55988    14%    Interleaved
	/dev/sd7s1b     32768     9128    23512    28%    Interleaved
	/dev/sd8s1b     32767     9232    23407    28%    Interleaved
	/dev/sd7b       32768      128    32512     0%    Interleaved
	/dev/sd8b       32767      212    32427     1%    Interleaved
	Total          228607    37692   190915    16%

	There is no sd7b or sd8b -- they are sd7s1b and sd8s1b respectively.
	Yet, swapon allowed me to add one after another, and they seem to
	now be used for paging! Without ``swapon -u'' I can not even
	stop this non-sence without reboot, which is what I'm going to
	do as soon as I finish typing this. I think, the machine can panic
	any time now...

>How-To-Repeat:

	See description

>Fix:
	
	Watch those partitions...
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806190539.BAA18761>