Date: Sun, 9 Apr 2006 04:56:58 +0000 From: "=?ISO-8859-1?Q?Dh=E9nin_Jean-Jacques?=" <dhenin@fnet.fr> To: freebsd-questions@freebsd.org, freebsd@hyperconx.com Subject: Re: Partitioning on existing system Message-ID: <12437d830604082156s39dde8d1y7c59a480be6b0a50@mail.gmail.com> In-Reply-To: <NGBBKBOMKLFOJCCDHPEOIECMPPAA.freebsd@hyperconx.com> References: <200604061808.26586.list-freebsd-2004@morbius.sent.com> <NGBBKBOMKLFOJCCDHPEOIECMPPAA.freebsd@hyperconx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I don't see what the trouble. If you want a /tmp directory on a disk, just do : $ cd /foo # the disk you want, may be / $ mkdir /tmp Thats all. 2006/4/9, Wil Hatfield <freebsd@hyperconx.com>: > Ok I screwed up on one of my machines and forgot to put the /tmp director= y > on its own slice. How can I do this on an existing system? Linux has this > procedure. Anything like it for FreeBSD? > > dd if=3D/dev/zero of=3DtmpMnt bs=3D1024 count=3D100000 > /sbin/mke2fs /dev/tmpMnt > cd / > cp -R /tmp /tmp_backup > mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp > chmod 1777 /tmp > cp -R /tmp_backup/* /tmp/ > rm -rf /tmp_backup > > Any help is greatly appreciated. > > -- > Wil Hatfield > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > -- jjd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12437d830604082156s39dde8d1y7c59a480be6b0a50>