What can change an inode number?
hi,
I'd like to implement a software license mechanism into my software, and was looking for a way of uniquely identifying a machine. Someone suggested using the creation date of /bin, and while they hadn't realised you can't get that date, it was still a good approach. It's not perfectly unique, but will be different enough for my purposes and it has the advantage that it's not hardware dependent (ie they can replace their nics etc).
I was wondering if I could use the inode number of /bin instead? The stumbling blocks will be how unique is it really, and is it likely to change at any time?
I guess if two machines were identical, and the install procedure of linux used was the same each time, then there'd be a good chance the inode's of /bin would be the same - but what factors could influence a different number (HD size/partitioning? Install procedure?, other hardware on the PC? etc).
If the inode is likely to change over time for /bin, then this idea is blown out of the water anyway...
thanks,
nik
|