From owner-freebsd-questions Mon Oct 29 14:15:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id CCE9637B409 for ; Mon, 29 Oct 2001 14:15:20 -0800 (PST) Received: (qmail 6366 invoked by uid 100); 29 Oct 2001 17:15:53 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15325.36553.128065.989713@guru.mired.org> Date: Mon, 29 Oct 2001 11:15:53 -0600 To: Wayne Lubin Cc: questions@freebsd.org Subject: Re: Two Questions In-Reply-To: <118007857@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 Wayne Lubin types: > Question 1 > I have recently learned about the benefits of having > /, /tmp, /var, and /usr all on separate file systems. > Unfortunately when I installed freebsd I was not aware > of this, so on my system I have only / and /usr on > separate file systems. So this means that /var and > /tmp are on / taking up room. My / is about 1 gig and > my /usr is about 12 gigs. My question is this. Can I > make directories /usr/tmp and /usr/var and copy > everything currently in /tmp and /var into their > coresponding directories on the /usr file system, and > make sym links from /tmp to /usr/tmp and from /var to > /usr/var. Wouldn't this have the effect of these > directories not using any space on the / file system > as desired? Any drawbacks? Yes, it'll do what you want. It's sort of pointless, though - with a gig for /, you're not liable to run out of space on it because of /tmp or /var. > Question 2: > I was learning how to get my floppy drive working, you > know, mount etc... I got it mounted and I was in the > /floppy directory. Did some ls commands and viewed a > couple of files on the floppy with vi. When I was done > I did a umount while I was still in /floppy. When it > unmounted the floppy, I was left in "no mans land". It > was acting as if I was not in any directory. When I > tried a "cd .." the system crashed and rebooted. Now > when I boot my system I get the following messages > right next to each other.. That's a bug... > Recovering vi editor sessions > sendmail[119]: My unqualified hostname unknown; > sleeping for retry > > and then after an annoying 1 min wait(guess it was > sleeping) it comes back and says it will use the short > name for hostname, and finishes booting. > > First of all, in my rc.conf my sendmail is NOT > enabled, which seems to mean that some other program > is trying to access sendmail. Secondly,in rc.conf I > have hostname="wayne". My machine does not have a > domain name associated with it, so it is not as if I > can set this variable to anything meaningful. /etc/rc - the script that is run when the system goes multiuser - uses the sendmail command to send mail to the owner of any vi editor sessions it finds at boot time. Do an "rm -rf /var/tmp/vi.recover" as root, and the problem should go away. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message