Results 1 to 7 of 7
His,
I am doing a script to catalog my CDs and DVDs (all burned with windows) and at this point I would like to know how to read the serial ...
- 12-06-2009 #1
read CD/DVD disk serial number
His,
I am doing a script to catalog my CDs and DVDs (all burned with windows) and at this point I would like to know how to read the serial number of the CD/DVD
in DOS/windows i do a dir command and i get a serial number. something like:
How do i get that serial number under Linux?Code:c:> dir d: Volume in drive D is book2 Serial number is 4FD6:825E (...)
Thanks!Last edited by clickalot; 12-06-2009 at 05:43 PM. Reason: clarity
- 12-06-2009 #2
The hdparm command with the -I Parameter gives many infos.
But it needs to have root rights, so there might be a better way.Debian GNU/Linux -- You know you want it.
- 12-06-2009 #3
Hi GNU-Fan,
in my case:
will give information on the cd-rom device and not on the actual optical media...Code:$ sudo hdparm -I /dev/sr0
sorry, i wasn't clear enough
- 12-06-2009 #4
Maybe browse the proc directory.
The pseudofiles in there should give you ample information.
CDROM driver (sr or scd)Debian GNU/Linux -- You know you want it.
- 12-06-2009 #5
If you're using a Debian or Redhat based distro, I'm inviting you to try out my program for CD/DVD catalogization I'm developing since january this year. Of course, I don't want you to abandon your scripting, I'd just like to hear your opinions, since I don't know what do I have to add. I have very few feedbacks, so I don't know. Thank you!
The link:
Browse GamCat Files on SourceForge.net
Anc the project's public page with infos (please read them):
GamCat KDE-Apps.orgIf you need a CD/DVD catalogizer, give a try to my program:
http://www.kde-apps.org/content/show...content=100682
Linux Usert#430188
- 12-06-2009 #6
Thanks for the good pointer GNU-Fan
minthaka: that's exciting that you are developing a gui based cataloger!
I'll probably have time in january to look into it better
(right now i installed it, it asked me a bunch of questions and then it crashed - probably because i don't have gambas database installed... btw: i'm using Ubuntu 9.04-64bit)
also:
I'm starting to think that many serial numbers aren't stamped into the media... instead, it's the dos dir command that generates it...
- 12-06-2009 #7
YOU MUST INSTALL the gambas2-gb-db-sqlite2 and sqlite3 PACKAGES MANUALLY. This is due to an old version of gambas2 present in Ubuntu. Please, simply delete the folder /home/user/.GamCat and restart the app.
Last edited by minthaka; 12-07-2009 at 12:29 PM. Reason: They have changed the package name in Ubuntu
If you need a CD/DVD catalogizer, give a try to my program:
http://www.kde-apps.org/content/show...content=100682
Linux Usert#430188


Reply With Quote