Author Topic: [SOLVED] Where Is VOL_ID ?  (Read 365 times)

Offline mr-roboto

  • Jr. Member
  • **
  • Posts: 45
[SOLVED] Where Is VOL_ID ?
« on: October 22, 2012, 08:43:01 PM »
Using a different distro from a few years ago, I had occasion to add the udev module to that system partly for the sake of a certain utility:  vol_id.  According to the online man pages, it still should be in the udev module.  But I can't find it in any of the LXDE-Minis I've been using since 2011.

Is there any way that I can get vol_id back ?  BTW, I wrote+debugged an elegant little Python script that uses it for drive detection.  TIA....
« Last Edit: October 28, 2012, 07:56:23 PM by mr-roboto »

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10620
  • MLUs Forever!
Re: Where Is VOL_ID ?
« Reply #1 on: October 23, 2012, 03:21:10 AM »
libvolume_id1 ?

Quote
Library for volume_id

Is it to get similar info as

blkid

?
« Last Edit: October 23, 2012, 03:24:20 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline mr-roboto

  • Jr. Member
  • **
  • Posts: 45
Re: Where Is VOL_ID ?
« Reply #2 on: October 28, 2012, 07:55:54 PM »
libvolume_id1 ?

Quote
Library for volume_id

Is it to get similar info as

blkid

?

Give the man a donut !  Thank you.  blkid seems to have greater functionality, but performs essentially the same task....

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10620
  • MLUs Forever!
Re: Where Is VOL_ID ?
« Reply #3 on: October 28, 2012, 09:26:10 PM »
libvolume_id1 ?

Quote
Library for volume_id

Is it to get similar info as

blkid

?

Give the man a donut !  Thank you.  blkid seems to have greater functionality, but performs essentially the same task....

To avoid stale lists in blkid you can use

blkid -c /dev/null

which causes it to refresh the table  ;)

It rarely happens, but if doing something critical or not directly under user control I suggest it be used.

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline mr-roboto

  • Jr. Member
  • **
  • Posts: 45
Re: Where Is VOL_ID ?
« Reply #4 on: November 07, 2012, 10:04:46 PM »
libvolume_id1 ?

Quote
Library for volume_id

Is it to get similar info as

blkid

?

Give the man a donut !  Thank you.  blkid seems to have greater functionality, but performs essentially the same task....

To avoid stale lists in blkid you can use

blkid -c /dev/null

which causes it to refresh the table  ;)

It rarely happens, but if doing something critical or not directly under user control I suggest it be used.



Thanks for heds-up.  Would've responded sooner, exc I don't have power at home (hurricane and all), so e-mail has gone unanswered for a bit....

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10620
  • MLUs Forever!
Re: [SOLVED] Where Is VOL_ID ?
« Reply #5 on: November 08, 2012, 02:22:46 AM »
NP.

Hope all is well where you are and recovery from the 'event' is going OK.

Take care  ;)

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline mr-roboto

  • Jr. Member
  • **
  • Posts: 45
Re: [SOLVED] Where Is VOL_ID ?
« Reply #6 on: November 10, 2012, 04:06:23 PM »
NP.

Hope all is well where you are and recovery from the 'event' is going OK.

Take care  ;)


Having lived thru all of the major NE US power failures since '65, this experience has been eye-opening in the extreme.  I was without power for eleven days !  I had to commute to simply keep my smartphone alive [no joke] !  I can only imagine that this experience would be even more hellish if I weren't living in the shadow of the 'Center of the Universe (New York City)'.  Thankfully it's over for me....