Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 1999 19:57:13 -0800 (PST)
From:      neill rr <robalama@yahoo.com>
To:        grog@lemis.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /var: Device Busy
Message-ID:  <19990308035713.8216.rocketmail@send101.yahoomail.com>

next in thread | raw e-mail | index | archive | help
---Greg Lehey <grog@lemis.com> 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.
> 
> Greg
> --
> See complete headers for address, home page and phone numbers
> finger grog@lemis.com for PGP public key
> 

Ah ha,

Thanks for pointing that out to me.  With that in mind, is a 32MB /var
enough for basic everyday use, no development?  Or would the best to
do otherwise (I have about 3.5GB to work with).

Thanks for the reply.

Neill

P.S....I would be interested in atleast one copy of the printed Man
pages.




_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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