From owner-freebsd-questions Sun Mar 7 20:21:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 7E55914E03 for ; Sun, 7 Mar 1999 20:21:05 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id OAA27241; Mon, 8 Mar 1999 14:50:29 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id OAA14619; Mon, 8 Mar 1999 14:49:38 +1030 (CST) Message-ID: <19990308144938.O490@lemis.com> Date: Mon, 8 Mar 1999 14:49:38 +1030 From: Greg Lehey To: neill rr Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /var: Device Busy References: <19990308035713.8216.rocketmail@send101.yahoomail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990308035713.8216.rocketmail@send101.yahoomail.com>; from neill rr on Sun, Mar 07, 1999 at 07:57:13PM -0800 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered at freebie.lemis.com] On Sunday, 7 March 1999 at 19:57:13 -0800, neill rr wrote: > ---Greg Lehey wrote: >> >> On Sunday, 7 March 1999 at 10:04:41 -0500, Oleg Ogurok wrote: >>> On Sat, 6 Mar 1999, neill rr wrote: >>> >>>> Hello, >>>> >>>> While following the instructions in "The Complete FreeBSD" about >>>> relocating the /var and creating a symbolic link to it, when I > try to >>>> remove the old /var directory, this is what I get: >>>> >>>> #rm /var >>>> rm: /var: Device Busy >>> >>> You may need to load FreeBSD is a singe-user mode. When it boots >>> and you see the 'boot' prompt, type '-s'. Then try. >> >> I'm guessing that the problem you have is that you have not quite >> followed the example in the book, which didn't allocate a /var file >> system. I suspect that you have done so, and you still have it >> mounted. You won't be able to umount it until you stop all processes >> which have files open on the file system, such as syslogd. But that's >> OK. You can rename it (I personally call it /VAR). Next time you >> reboot (to multi-user mode), nothing will open it, and you can remove >> it. >> >> BTW, you won't be able to rm the /var directory at any time, simply >> because it's a directory. You'll have to use rmdir. > > Thanks for pointing that out to me. With that in mind, is a 32MB /var > enough for basic everyday use, no development? I don't recommend a /var file system at all. If you insist on having one, be prepared to expand it. > Or would the best to do otherwise (I have about 3.5GB to work with). Make one file system per disk, unless the size would make it impossible to back it up on one tape. > P.S....I would be interested in atleast one copy of the printed Man > pages. Can you send me another message saying so? I want to collect the messages and forward them to Walnut Creek. Thanks Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message