Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2001 11:15:53 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Wayne Lubin <wayneclubin@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: Two Questions
Message-ID:  <15325.36553.128065.989713@guru.mired.org>
In-Reply-To: <118007857@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Wayne Lubin <wayneclubin@yahoo.com> 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.

	<mike

--
Mike Meyer <mwm@mired.org>			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




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