Re: interface renaming (was: Re: Moving towards NetworkManager)
On Sat, Jul 30, 2016 at 10:27 AM, Josef Wolf <[hidden email]> wrote:
> On Sat, Jul 30, 2016 at 03:11:56PM +0100, Colin Law wrote:
>> On 30 July 2016 at 14:11, Josef Wolf <[hidden email]> wrote:
>>> What does it contradict?
>> For example "it might very well happen that "eth0" on one boot ends
>> up being "eth1" on the next".
> Have you ever actually SEEN that? Myself not...
On 30 July 2016 at 18:01, Tom H <[hidden email]> wrote:
> I'll modify your statement slightly:
> A very good but disturbing idea.
> (Disturbing because we're so used to the concept of "/bin" "/lib"
> "/sbin" containing what's needed to bring up a minimal system with
> just "/" if other filesystems happen to split out. That function's now
> fulfilled by the initramfs' "/".)
Do you think many people are still actually doing that?
Most of the ultra-minimal distros are dead now, e.g.
I just had a quick look. The smallest new hard disks I can find for
sale now are 500GB. That's notebook and desktop sizes.
OK, true, SSDs are still available new at 120GB. (The Mac mini I'm
typing on boots off one! However, I did buy it at the start of 2014
and it was the cheapest I could get then.)
So, with a small Linux today being a desktop distro like Debian or
Slackware, that only just fits on a CD and which takes a gigabyte or
so, which is 0.2% of the smallest available hard disk, do you really
think there is still any need for a minimal system such as your
On Sat, 30 Jul 2016 15:04:17 +0200, Liam Proven wrote:
>On 29 July 2016 at 22:04, Josef Wolf <[hidden email]> wrote:
>> You're probably right. I think, you need some grade of madness to
>> survive in this world.
>There is truth in that! :-)
>> I was not aware about sublte differences in apt-gt/aptitude.
>I don't think this counts as "subtle"!
>> A long time ago I
>> asked on this list whether aptitude is a proper tool and received
>> positive answers.
>Really? That is surprising. Debian recommends ``aptitude'' but Ubuntu
>never did and now Ubuntu offers the ``apt'' command instead. I have
>switched to this. It behaves just like apt-get/apt-cache etc., but the
>commands are shorter and the progress indication is much better.
>sudo apt update ; sudo apt dist-upgrade -y
>... instead of:
>sudo apt-get update ; sudo apt-get dist-upgrade -y
>Saves 8 characters, 2 of them punctuation marks. As Neal Stephenson
OTOH you could type
sudo apt-g TAB upd TAB && sudo apt-g TAB di TAB
I prefer && over ; because if the update fails, it doesn't continue
with a perhaps partial dist-upgrade and I removed the -y since IMO it's
wiser to first take a look at what should be done.
the && might not make really sense everywhere, perhaps I should edit
this. FWIW usually I'm not typing it, I use the cursor up key ;), so I
might need to push 4 or 5 times the same key. Note, there's no
sudo used ;), instead of typing sudo several times I use su or sudo -i,
sudo -s would work, too.
On Sat, Jul 30, 2016 at 11:57:59AM -0400, Tom H wrote:
> On Sat, Jul 30, 2016 at 8:03 AM, Josef Wolf <[hidden email]> wrote:
> > The question is: what EXACTLY does "predictable interface name" mean?
> It means that you can, for the same kernel, replace a NIC with
> another, and have them both have the same name.
What happens when you replace the motherboard by a different one?
> The old way was OK if you had a couple of NICs, but once you had half
> a dozen NICs on a box, ...
This defines for every site, which interface is to be used to connect to
different providers via different methods (pppoe or cable).
This setting is about 10 years old. Defined and committed to subversion ONCE,
changed only when an additional site and/or provider is added. When the router
is installed, it picks its snippet from this configuration setting (which it
knows by its domain-name) and auto-configures itself according this
That's pretty convenient: just install from the customized server-CD, and the
postinstall-script will check out the configurations system from subversion
and configures itself. It feels like magic.
So with this new, shiny naming scheme: how would I know in ADVANCE how the
interface to provider Telekom will be named on the mainboard that will be
installed on that site? Will it be the same name when the mainboard will be
replaced five years later with a completely different mainboard?