:: Re: [DNG] new freedesktop "standard…
Forside
Slet denne besked
Besvar denne besked
Skribent: al3xu5 / dotcommon
Dato:  
Til: dng
Emne: Re: [DNG] new freedesktop "standard": /etc/machine-id
Il giorno sabato 09/03/2019 13:25:29 +0100
Alessandro Selli <alessandroselli@???> ha scritto:

> [cut]


> > Maybe your system is different to mine, but try compiling the below
> > and find out for yourself:
> >
> > #include <stdio.h>
> > #include <unistd.h>
> >
> > int main()
> > {
> > int id;
> >
> > id = gethostid();
> >
> > printf("my id is 0x%08x\n", id);
> >
> > return 0;
> > }
>
> my id is 0x007f0101
>
> [...]
>
> my id is 0x007f0101
>
> [...]
>
> my id is 0x007f0101
>


using the `hostid` command, I have (Devuan ASCII):

$ hostid
007f0101

which is the same value!!!

I wonder... is it a "fixed" id for all Devuan installation as it seems to be?

And if it is so,is it correct that it is?

Regards


--
al3xu5 / dotcommon
Say NO to copyright, patents, trademarks and any industrial design restrictions.