Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 May 2003 08:08:52 -0500
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        Garance A Drosihn <drosih@rpi.edu>, nick nelson <nick@arpa.com>
Cc:        questions@freebsd.org
Subject:   Re: repartition /tmp?
Message-ID:  <3.0.5.32.20030503080852.01372fe8@sage-one.net>
In-Reply-To: <p0521060cbad9137fcf03@[128.113.24.47]>
References:  <20030502054102.GA22505@arpa.com> <20030502051509.GA20957@arpa.com> <20030502053031.GD58262@dan.emsphone.com> <20030502054102.GA22505@arpa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:41 AM 5.3.2003 -0400, Garance A Drosihn wrote:
>At 12:41 AM -0500 5/2/03, nick nelson wrote:
>>On Fri May 02, 2003, Dan Nelson propagated the following:
>>  > > I appeared to have mitakenly made my /tmp partition on
>>  > > this machine way too small (missed a 0 completely.).
>>  >
>>  > What I end up doing is removing /tmp and symlinking it
>>  > to /usr/tmp.
>>
>>This sounds like a good idea, however it's not as [simple as]
>>just deleting it is it?  Since it's a partition, it'll give
>>me a 'device busy' error if i try to delete it (as expected.)
>
>I assume you can afford to reboot the machine.
>
>  - Edit /etc/fstab to comment out the entry for /tmp
>  - Reboot
>
>You will now have a /tmp directory, and you will not have a
>partition mounted over that directory.  Move the /tmp directory

If I'm following this thread right, why would he need to reboot..??

Couldn't he just do this..?
#umount /tmp
rm -rf /tmp
ln -s /usr/tmp tmp
mount /tmp

That should do it....

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
jackstone@sage-one.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20030503080852.01372fe8>