From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3118fb7a65935858 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-10-07 12:12:56 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!atria.com!jtk From: jtk@atria.com (John T. Kohl) Subject: Re: swapdefault: How to hose a filesystem In-Reply-To: wilko@idca.tds.philips.nl's message of 7 Oct 93 11:59:06 GMT Message-ID: Sender: news@atria.com Nntp-Posting-Host: 192.88.237.83 Organization: Atria Software References: Date: Thu, 7 Oct 1993 17:25:08 GMT In article wilko@idca.tds.philips.nl (Wilko Bulte) writes: > >Else, the system may decide to swap right in the middle of a data > >filesystem ... > Hmm, I did something similar once and swapon objected that the particular > partition was mounted. Your swapdefault points to the default swap device, > is apparantly not checked. When I was at Digital, I ran into the problem of swapping in the middle of an active file system. Being in the file system group, I modified ufs_fsck, mount, swapon, newfs to verify that active swap partitions and filesystems don't overlap each other. This change was shipped with DEC OSF/1 V1.3. For example (not the "in use as swap" message): /sbin/ufs_fsck /dev/rrz3h ** /dev/rrz3h /dev/rrz3h overlaps mounted filesystem(s) or an active swap area Unmount or reboot required before fsck on /dev/rrz3h (start 0 end 199999) /dev/rz3b in use as swap (start 103222 end 539381) /dev/rrz3h overlaps mounted filesystem(s) or an active swap area Unmount or reboot required before fsck on /dev/rrz3h (start 0 end 199999) /dev/rz3a mounted on / (start 0 end 103221) -- John Kohl or working for but not representing: Atria Software --------- What are you pretending not to know?