Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 23:02:47 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        kpneal@pobox.com
Cc:        Don Dugger <dondugger47@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: zfs configuration
Message-ID:  <CA%2BtpaK2QjOERvdmcm%2BAbumywFW%2B=nOfoqbBRDz=DW_Lk4-Ozxw@mail.gmail.com>
In-Reply-To: <20130122043331.GA39426@neutralgood.org>
References:  <CANQr=Adi=6xOnZC=M_cKvuUeWAXyf_VxmmKYbthOSX=tiVQpMg@mail.gmail.com> <20130122043331.GA39426@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 21, 2013 at 10:33 PM, <kpneal@pobox.com> wrote:

> On Mon, Jan 21, 2013 at 07:50:58AM -0800, Don Dugger wrote:
> > Hi All,
> >
> > So I use zfs for the root file system. Works well. However now I want to
> > move /tmp to ram-disk (memory disk or what ever). When I try to unmount
> > /tmp with the zfs command of course it won't because its busy. With ufs I
> > would just edit fstab and reboot what do I don with zfs??
>
> You can install and run 'lsof' to see which running programs are currently
> using anything in "/tmp". Stop them, mount a new /tmp, and then restart
> them.
>

Or use fstat and avoid the lsof overhead

-- 
Adam Vande More



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK2QjOERvdmcm%2BAbumywFW%2B=nOfoqbBRDz=DW_Lk4-Ozxw>