From owner-freebsd-bugs Sun Mar 17 3: 0: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D425F37B416 for ; Sun, 17 Mar 2002 03:00:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2HB05N08370; Sun, 17 Mar 2002 03:00:05 -0800 (PST) (envelope-from gnats) Date: Sun, 17 Mar 2002 03:00:05 -0800 (PST) Message-Id: <200203171100.g2HB05N08370@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: kern/35985: swap double mount Reply-To: "Crist J. Clark" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/35985; it has been noted by GNATS. From: "Crist J. Clark" To: Jan Srzednicki Cc: bug-followup@freebsd.org Subject: Re: kern/35985: swap double mount Date: Sun, 17 Mar 2002 03:00:02 -0800 On Sun, Mar 17, 2002 at 11:09:25AM +0100, Jan Srzednicki wrote: > On Sun, 17 Mar 2002, Crist J. Clark wrote: > > > It isn't supposed to. swapon(2) (the system call, not the command) > > should return EBUSY when a device is in use. Can you give more > > detailed information about how the system got into this state? > > By running disklabel from /stand/sysinstall (to partition the second slice > on the disk) while this swap device was already mounted (it is on the > first slice). Cool. It does do that. Weird. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message