On Fri, 2005-09-16 at 13:47 +0200, Marcel Sebek wrote: > On Fri, Sep 16, 2005 at 10:55:37AM +0200, johannes wrote: > > hi all, > > > > i'm using a swapfile in a file on a local filesystem "/data/swapfile" (not > > a swap partition!) > > during shutdown /etc/init.d/umountfs first tries to unmount all local > > filesystems and then deactivates all swap > > but unmounting of the partitition wich has the swapfile "/data" fails > > because the swapfile is still active > > > > if i change /etc/init.d/umountfs in such a way that it first calls swapoff > > and then unmounts the local filesystems it works correctly
It already does that, in the (misnamed) umountnfs.sh script which runs before umountfs.... read it. Mike. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]