From owner-freebsd-bugs Thu Jun 18 22:41:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA29543 for freebsd-bugs-outgoing; Thu, 18 Jun 1998 22:41:16 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA29535 for ; Thu, 18 Jun 1998 22:41:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA16250; Thu, 18 Jun 1998 22:40:01 -0700 (PDT) Received: from aldan.ziplink.net (mi@kot.ne.mediaone.net [24.128.29.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA29390 for ; Thu, 18 Jun 1998 22:39:47 -0700 (PDT) (envelope-from mi@rtfm.ziplink.net) Received: from rtfm.ziplink.net (rtfm [199.232.255.52]) by aldan.ziplink.net (8.8.8/8.8.7) with ESMTP id FAA00824 for ; Fri, 19 Jun 1998 05:39:44 GMT (envelope-from mi@rtfm.ziplink.net) Received: (from mi@localhost) by rtfm.ziplink.net (8.8.8/8.8.5) id BAA18761; Fri, 19 Jun 1998 01:39:43 -0400 (EDT) Message-Id: <199806190539.BAA18761@rtfm.ziplink.net> Date: Fri, 19 Jun 1998 01:39:43 -0400 (EDT) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/6988: swapon succeeds on bogus partitions Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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