volume serial number + volume label

Tod McQuillin devin at spamcop.net
Wed Feb 22 23:47:26 PST 2006


On Thu, 23 Feb 2006, andrew clarke wrote:

> 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 information is only relevant for msdos filesystems, for which you'll 
likely find the emulators/mtools port provides good support.
-- 
Tod McQuillin



More information about the freebsd-hackers mailing list