On 05/01/2019 16:03, Bart wrote:
> I need some function to get a unique ID for a disk.
Take a look at OnGuard - which is software copy projection software
written for Delphi and FPC (originally by TurboPower Software Co). The
latest software changes I made to it can be found on Github:
https:/
Am Sa., 5. Jan. 2019, 17:05 hat Bart geschrieben:
> Hi,
>
> I need some function to get a unique ID for a disk.
> I need this to identify if my program has accessed this disk previously.
>
> On Windows I can retreive the VolumeSerialNr, but how do I do
> something like that in Linux?
> Mind you:
Il 05/01/2019 17:03, Bart ha scritto:
I need some function to get a unique ID for a disk.
I need this to identify if my program has accessed this disk previously.
For that purpose on Linux, out of laziness, I usually just parse the
output of command-line utilities, such as blkid or lsblk.
bl
Hi,
I need some function to get a unique ID for a disk.
I need this to identify if my program has accessed this disk previously.
On Windows I can retreive the VolumeSerialNr, but how do I do
something like that in Linux?
Mind you: the "ID" retrieved does NOT have to be the same for each platform.