Re: obsolete files?

2004-02-24 Thread Julien Gabel
>> so what, freebsd from scratch is the only way to avoid this?

> Where can I find information on 'freebsd from scratch'. Pointers
> would be appreciated.

You can find that 'article' in the FreeBSD Documentation Set:
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/\
  fbsd-from-scratch/index.html

-- 
-jg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: obsolete files?

2004-02-24 Thread Stephen Liu
Hi jsha,

so what, freebsd from scratch is the only way to avoid this?
 

Where can I find information on 'freebsd from scratch'. Pointers would 
be appreciated.

TIA

B.R.
Stephen Liu
and how come make/install world is made like that? shouldn't
the developers try to avoid this kind of thing?
thanks.

On Sun, Feb 22, 2004 at 01:42:32AM -0800, Kent Stewart wrote:
 

On Saturday 21 February 2004 11:24 pm, jsha wrote:
   

hello.

does make world leave obsolete files on your system
after install? without even the slightest effort to
remove them?
please say it isn't so. i like make world.

 

Worse, it is known to cause fatal situations where you have to use the 
fixit disk to recover your system or do a reinstall. If you upgrade a 
kernel that panics, you will be committed to using the bad build. The 
installworld being run after the installkernel and reboot to single 
user mode is for your protection.

FWIW, even installworld leaves obsolete files on your system at various 
times.

Kent

--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: obsolete files?

2004-02-24 Thread Lowell Gilbert
Please don't top-post.

> On Sun, Feb 22, 2004 at 01:42:32AM -0800, Kent Stewart wrote:
> > On Saturday 21 February 2004 11:24 pm, jsha wrote:
> > > hello.
> > >
> > > does make world leave obsolete files on your system
> > > after install? without even the slightest effort to
> > > remove them?
> > >
> > > please say it isn't so. i like make world.
> > >
> > 
> > Worse, it is known to cause fatal situations where you have to use the 
> > fixit disk to recover your system or do a reinstall. If you upgrade a 
> > kernel that panics, you will be committed to using the bad build. The 
> > installworld being run after the installkernel and reboot to single 
> > user mode is for your protection.
> > 
> > FWIW, even installworld leaves obsolete files on your system at various 
> > times.
> > 
> > Kent

jsha <[EMAIL PROTECTED]> writes:

> damn, this sounds bad.
> 
> so what, freebsd from scratch is the only way to avoid this?
> 
> and how come make/install world is made like that? shouldn't
> the developers try to avoid this kind of thing?

Following the documented upgrade path (including checking UPDATING
for any "special" actions needed at a particular point) will avoid
having an unbootable system.  Kent Stewart was explaining why 
using "make world" is less safe than using the documented procedure.

And having a few obsolete files left behind is not generally a
problem.  It's possible to find some and weed them out, but it's not
worth worrying about.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: obsolete files?

2004-02-24 Thread jsha

damn, this sounds bad.

so what, freebsd from scratch is the only way to avoid this?

and how come make/install world is made like that? shouldn't
the developers try to avoid this kind of thing?

thanks.

On Sun, Feb 22, 2004 at 01:42:32AM -0800, Kent Stewart wrote:
> On Saturday 21 February 2004 11:24 pm, jsha wrote:
> > hello.
> >
> > does make world leave obsolete files on your system
> > after install? without even the slightest effort to
> > remove them?
> >
> > please say it isn't so. i like make world.
> >
> 
> Worse, it is known to cause fatal situations where you have to use the 
> fixit disk to recover your system or do a reinstall. If you upgrade a 
> kernel that panics, you will be committed to using the bad build. The 
> installworld being run after the installkernel and reboot to single 
> user mode is for your protection.
> 
> FWIW, even installworld leaves obsolete files on your system at various 
> times.
> 
> Kent
> 
> -- 
> Kent Stewart
> Richland, WA
> 
> http://users.owt.com/kstewart/index.html

--
j.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: obsolete files?

2004-02-22 Thread Alex de Kruijff
On Sun, Feb 22, 2004 at 08:24:28AM +0100, jsha wrote:
> 
> hello.
> 
> does make world leave obsolete files on your system
> after install? without even the slightest effort to
> remove them?
> 
> please say it isn't so. i like make world.

Hi,

If it does then its written down in the handbook under the cutting edge.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: obsolete files?

2004-02-22 Thread Kent Stewart
On Saturday 21 February 2004 11:24 pm, jsha wrote:
> hello.
>
> does make world leave obsolete files on your system
> after install? without even the slightest effort to
> remove them?
>
> please say it isn't so. i like make world.
>

Worse, it is known to cause fatal situations where you have to use the 
fixit disk to recover your system or do a reinstall. If you upgrade a 
kernel that panics, you will be committed to using the bad build. The 
installworld being run after the installkernel and reboot to single 
user mode is for your protection.

FWIW, even installworld leaves obsolete files on your system at various 
times.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


obsolete files?

2004-02-22 Thread jsha

hello.

does make world leave obsolete files on your system
after install? without even the slightest effort to
remove them?

please say it isn't so. i like make world.

--
j.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make installworld & obsolete files

2002-10-07 Thread Matthew Seaman

On Mon, Oct 07, 2002 at 12:31:15AM +0200, Jean-Yves Lefort wrote:

> Is the make installworld command deleting files belonging to older
> FreeBSD versions and no longer present in the version being installed?

No.  Obsolete files are left lying about on the hard drive.  Usually
there are very few files that drop out between updates, so this isn't
a massive problem.  It can be significant if you start playing with
the NO_FOO options in /etc/make.conf or for a major version upgrade.
 
> If no, is there a reliable way to identify those files in order to be
> able to delete them by hand?

If you go through a {build,install}world cycle and you don't use the
'-C' flag for install (set in /etc/make.conf), then all the files you
install will have timestamps within a few seconds of each other.  You
can then identify the files that haven't been modified using find,
eg. for the root partition:

find -x / -mtime +1 -ls \( -name modules.old -o -name etc -o -name dev \) -prune

but you're going to have to go through that list manually to work out
which files are actually surplus to requirements.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



make installworld & obsolete files

2002-10-06 Thread Jean-Yves Lefort

Hi all,

Is the make installworld command deleting files belonging to older
FreeBSD versions and no longer present in the version being installed?

If no, is there a reliable way to identify those files in order to be
able to delete them by hand?

Regards,
Jean-Yves Lefort

-- 
Jean-Yves Lefort

[EMAIL PROTECTED]
http://void.adminz.be/



msg04142/pgp0.pgp
Description: PGP signature