Date: Sun, 17 Mar 2002 02:10:02 -0800 (PST) From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/35985: swap double mount Message-ID: <200203171010.g2HAA2q03299@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/35985; it has been noted by GNATS. From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: Jan Srzednicki <winfried@dream.vg> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/35985: swap double mount Date: Sun, 17 Mar 2002 02:03:13 -0800 On Sat, Mar 16, 2002 at 08:53:35PM -0000, Jan Srzednicki wrote: [snip] > [21:46] spitfire:~(60)# swapinfo > Device 1K-blocks Used Avail Capacity Type > /dev/ad0s1b 153472 5036 148436 3% Interleaved > /dev/rad6s1b 204672 4968 199704 2% Interleaved > /dev/rad4s1b 348032 4972 343060 1% Interleaved > /dev/rad4s1b 348032 1580 346452 0% Interleaved > Total 1054208 16556 1037652 2% > > Aaargh! /dev/rad4s1b is mounted as swap twice! > I thing the system should never allow this to happen. 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? -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203171010.g2HAA2q03299>