Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2006 18:18:11 +1100
From:      andrew clarke <mail@ozzmosis.com>
To:        freebsd-hackers@freebsd.org
Subject:   volume serial number + volume label
Message-ID:  <20060223071811.GA30268@ozzmosis.com>

next in thread | raw e-mail | index | archive | help
Hi,

How can I programmatically retrieve the "volume serial number" and
"volume label" of a removable disc in FreeBSD?  This is the same
information that's presented by issuing a "dir" command in Windows:

 Volume in drive D is FooBar
 Volume Serial Number is 58BB-96AA

This is for a small disk cataloguing program I'm writing in Python and
C++.

Thanks.

Regards
Andrew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060223071811.GA30268>