Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Quelling Filesystem Activity Message-ID: <10291@brl-tgr.ARPA> Date: Tue, 30-Apr-85 07:39:18 EDT Article-I.D.: brl-tgr.10291 Posted: Tue Apr 30 07:39:18 1985 Date-Received: Wed, 1-May-85 07:13:11 EDT References: <134@kontron.UUCP> Distribution: net Organization: Ballistic Research Lab Lines: 17 > Here's the problem: I want to dump a filesystem while running > multi-user. I specifically *do*not* want to dump an active filesystem, > so I must be able to unmount it while it is potentially active. > > Here's what I need: I want a utility that will aid me in quelling > filesystem activity so that I can unmount it. The approach is to > examine /dev/kmem to identify pids of processes that have open files > in that filesystem, kill them, and unmount the fs. Killing an innocent process that is doing possibly useful work just so you can unmount the filesystem is NOT NICE. How about: wall 'Please get away from filesystem X so I can back it up.' until umount X; do sleep 15; done echo 'Ok, back X up.'