From owner-freebsd-questions Sat Jul 28 8:10:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tellurian.net (gate.tellurian.net [216.182.1.1]) by hub.freebsd.org (Postfix) with ESMTP id 08F7D37B405 for ; Sat, 28 Jul 2001 08:10:48 -0700 (PDT) (envelope-from walt@betan.com) Received: from walt99 (unverified [216.182.20.197]) by tellurian.net (Rockliffe SMTPRA 4.5.4) with ESMTP id ; Sat, 28 Jul 2001 11:10:47 -0400 Message-Id: <4.2.2.20010728110242.00ba8720@pop3.palace.net> X-Sender: walterbetanc@pop3.palace.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Sat, 28 Jul 2001 11:10:34 -0400 To: Mike Meyer From: Walter Betancourt Subject: Re: tmp and var to usr/tmp and usr/var Cc: questions@freebsd.org In-Reply-To: <15202.21872.124710.263609@guru.mired.org> References: <24032536@toto.iv> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for the reply Mike, Following the manual to setup /usr/tmp and /usr/var gets you no place, search on google finally found a mailing list (not freebsd) posting that after going to single user mode mount -u / mount /dev/ad0s1f /usr and mount as necessary, can then make /usr/tmp and usr/var with ln -s links from /tmp and /var then ctrl-d gets out of the whole thing and does normal boot. This really took me a long time to find. was not in manual, diary, faqs or freebsd mailing lists archives, (or search not found) but alls well that ends. thanks much for you help. At 01:02 AM 7/28/01 -0500, you wrote: >Walter Betancourt types: > > Hi all, > > > > can someone get me out of this cage, > > > > trying to make /usr/tmp and /usr/var and remove /tmp and /var then link to > > /usr/tmp and /usr/var > > > > can create /usr/tmp and /usr/var ok and move /var contents to /usr/var ok > > > > trying to rm -rf /tmp or /var gets 'device busy' > > > > tried single user mode, > > > > get 'file system read only' > > > > tried /mount -u / > > > > can then remove /var and /tmp and ln -s to /usr/var and /usr/tmp > > > > but then cant get out of this mode. > >What have you tried to get out of single user mode? reboot should >work. Exiting the current shell should also work without reloading the >kernel. > >If you've tried those and they don't work, what happens and what error >messages do you get. > > -- >Mike Meyer http://www.mired.org/home/mwm/ >Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. Walt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message