Power management

Sam Pikesley samdavidpikesley at yahoo.co.uk
Mon Jan 13 10:53:01 GMT 2003


 --- James <James at reftech.co.uk> wrote: > > >Probably
a mildly heretical question, but I've
> noticed the '-p' argument
> for
> > >shutdown, and I'd like to spend many possibly
> fruitless hours trying to
> get
> > >my freebsd box to emulate my index finger
> pressing the 'power' button.
> 
> Thanks to everyone that replied to this question,
> but I've run into a bit of
> a stumbling block.  It *appears* that I've gone and
> downloaded the src for
> FreeBSD 5.0 rather than 4.7.
> 
> Apart from the obvious warning signs (NFS and
> MFS_ROOT being complained
> about bitterly when you try a Kernel compile) is
> there any easy way to find
> out what source code exists on a machine?  Is the
> big caps lettering at the
> top of README and UPDATE an indicator?  Stop
> sniggering, this is my first
> unix.

There's a file called /usr/src/UPDATING. If you have
5.0, it carries a 

NOTE FOR PEOPLE WHO THINK 5.0-CURRENT IS SLOW. 

If it's 4.7, there should be a line like 

20021010: FreeBSD 4.7-RELEASE.

the clues are there ;)

> 
> In terms of remedial measures, if I can locate
> exactly whats gone wrong with
> my CVSUP file, can I just download the src tree
> again, or should I rm some
> portion of it?

Your supfile should contain a line something like

*default release=cvs tag=RELENG_4

for 4.7. If it says

*default release=cvs tag=.

then that would explain why you have 5.0

> 
> Ta.
> James
> 
> 
> ------ FreeBSD UK Users' Group  -  Mailing List
> ------
>
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users 

=====
The Romans didn't build a great empire by organising meetings. They did it by killing anyone that got in their way. 
                               -- K. Bates

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com




More information about the Ukfreebsd mailing list