Il giorno sabato 09/03/2019 13:25:29 +0100
Alessandro Selli <alessandrose...@linux.com> 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.
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to