repartition /tmp?
Eduardo Viruena Silva
mrspock at esfm.ipn.mx
Sat May 3 07:07:10 PDT 2003
On Sat, 3 May 2003, Jack L. Stone wrote:
> 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....
yes, I believe they just want to check if there'd be no problem
in a future boot.
>
> Best regards,
> Jack L. Stone,
> Administrator
>
> SageOne Net
> http://www.sage-one.net
> jackstone at sage-one.net
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
- ______ _
* / /###\ / \ __
/\ /\ * / ./#### \ * \__|_/ | |
/ \/ \ | b#####| * _ | __ | | __
= .. \____ \ \_\#####/ / \| / \ | | /\_\/
= \_| * \___\###/ * \_/\_/\__/\__\/_/\__/
= \______/ _
| |
More information about the freebsd-questions
mailing list