Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on February 03, 2012, 02:50:43 AM

Title: iana-etc update proposal
Post by: bmarkus on February 03, 2012, 02:50:43 AM
Current 4.x base contains the complete protocols file, so it can be removed from iana-etc.tcz
Title: Re: iana-etc update proposal
Post by: curaga on February 06, 2012, 11:39:04 AM
I disagree, it's a part of iana-etc, and there may be updates to it in the future. With such you wouldn't need to update the base to get the newer file, only the extension.
Title: Re: iana-etc update proposal
Post by: bmarkus on February 06, 2012, 11:47:58 AM
I disagree, it's a part of iana-etc, and there may be updates to it in the future. With such you wouldn't need to update the base to get the newer file, only the extension.

TC itself is changing much faster; maybe it will slow down once :) And I do not like duplication of resources. Anyhow, doesn't hurt if it stays.
Title: Re: iana-etc update proposal
Post by: curaga on February 06, 2012, 12:48:02 PM
I was thinking more of an embedded situation where you may not be able to update TC, updating iana-etc.tcz is a much smaller risk.
Title: Re: iana-etc update proposal
Post by: bmarkus on February 06, 2012, 01:15:31 PM
As it is in base currently, there is really a low probability you need iana-etctcz. Protocols do not change, over long time, basic port defintions are there. If you need it not for new protocols but to have port definitions.
Title: Re: iana-etc update proposal
Post by: gerald_clark on February 06, 2012, 01:25:05 PM
You could also force a symlink to free up the memory used by the copy in core.
Title: Re: iana-etc update proposal
Post by: bmarkus on February 06, 2012, 01:45:36 PM
As a generic strategy, much better not load something unnecesary than to load and fix what you have load.

What you are proposing is a terribly bad practice.
Title: Re: iana-etc update proposal
Post by: gerald_clark on February 06, 2012, 03:18:56 PM
I did not say to load the file and then fix the one you just loaded.
I said you could force a symlink from the one you loaded to /etc/protocols.
This would remove the old /etc/protocols that loaded at boot, and link it to the new version.
This would free up the memory used by the old version.
You may not like it, but it is one way to avoid 2 copies.