At 11:07 PM 10/24/2002 +0100, you wrote:
In single user mode, what you get is very bare bones.  A lot of stuff
like enviroment variables that would normally get setup for you won't
have been.  Your modifications to the console video settings won't
have happened by that point in the boot sequence either.  You'll get
standard 25 rows, 80 columns, white text on black.
Hmmmm.... that's not what I got - it was definitely green on black and I'm pretty sure it was 50 rows - it would have been pretty shocking to me if it were not, so I am quite sure of this.
I went into single user as advised in the manual: shutdown now. But then I used bash... :((


When you boot into single user mode, you should just hit return at the
prompt and take the default shell.  What you'll get is actually
/bin/sh --- remember at that time only the root partition is mounted,
so the only programs you'll definitely have available to run are the
statically linked ones from /bin and /sbin.  It's only after you've
done a 'mount -a', that you should be able to run pretty much anything
installed on the system.

To set an environment variable in /bin/sh, the syntax is exactly as I
wrote above:

    TERM=cons25

sets TERM as an ordinary variable (only visible from the current
process), and

    export TERM

promotes it to an environment variable (visible from all descendant
processes of the current one).

Thanks for your patience. This really clears the fog-in-the-brain... :))
PJ



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to