[clug] Unique Id's and CD's
Brett Worth
brett at worth.id.au
Thu May 7 01:41:56 GMT 2009
Jack Kelly wrote:
> /dev/cdrom | sha1sum ?
Of course that assumes that /dev/cdrom is executable. Which it probably isn't. Maybe you
meant:
sha1sum < /dev/cdrom
Or:
cat /dev/cdrom | sha1sum
The down side of these methods is that to determine the unique ID of the cdrom requires a
full read which takes a while. It'd be nicer if the unique id was perhaps written into
the cd label at burn time. Depends on whether the requirement is for new cds or for all cds.
Brett
More information about the linux
mailing list