Hi
Here you have the approach. I'll commit today if it's okay.
http://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/shortlog/refs/heads/dev2serno
Cheers,
Antonio Huete
2010/8/12 Aggelos Economopoulos ao...@cc.ece.ntua.gr:
On 08/12/2010 10:30 AM, Dylan Reinhold wrote:
On 08/06/2010 01:27 PM,
On 8/12/2010 14:52, Aggelos Economopoulos wrote:
That is a suboptimal approach. It should be trivial to export serno via
udev as Alex suggested and just as trivial to parse that (and more) info
from a userspace utility using libdevattr. It is generic and extendable.
Just try it :)
Umm, guys.
On 08/06/2010 01:27 PM, Matthew Dillon wrote:
:Hi people,
:
:is there a way to easily list all disks and their associated serno's ?
:Something like 'blkid' utility of Linux, if you happen to know it.
:I could happily hack something like that, if we lack it.
:
:
:Cheers,
:Stathis
There
K, I'm grabbing this submit.
Cheers,
Antonio Huete
2010/8/12 Dylan Reinhold dy...@ocnetworking.com:
On 08/06/2010 01:27 PM, Matthew Dillon wrote:
:Hi people,
:
:is there a way to easily list all disks and their associated serno's ?
:Something like 'blkid' utility of Linux, if you happen to
On 08/12/2010 10:30 AM, Dylan Reinhold wrote:
On 08/06/2010 01:27 PM, Matthew Dillon wrote:
:Hi people,
:
:is there a way to easily list all disks and their associated serno's ?
:Something like 'blkid' utility of Linux, if you happen to know it.
:I could happily hack something like that, if
Hi people,
is there a way to easily list all disks and their associated serno's ?
Something like 'blkid' utility of Linux, if you happen to know it.
I could happily hack something like that, if we lack it.
Cheers,
Stathis
:Hi people,
:
:is there a way to easily list all disks and their associated serno's ?
:Something like 'blkid' utility of Linux, if you happen to know it.
:I could happily hack something like that, if we lack it.
:
:
:Cheers,
:Stathis
There isn't, and that would be cool. It is fairly easy to
For whatever it's worth it would also be possible to use libdevattr,
which offers a fairly easy way to query for all disk devices and get
additional information such as serial number, device path, disk type
(optical, floppy, raid, ...). This approach might require that the
serial number is added