Re: volume serial number + volume label



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

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • volume serial number + volume label
    ... How can I programmatically retrieve the "volume serial number" and ... "volume label" of a removable disc in FreeBSD? ... information that's presented by issuing a "dir" command in Windows: ...
    (freebsd-hackers)
  • FreeBSD 5.3-SMP/IRQ problems (again)
    ... I reported very strange behaviours of FreeBSD 5.3 on a suspicous ... bus ID: 0 address type: memory address ... GEOM_LABEL: Label for provider da0s1e is ufs/compat. ...
    (freebsd-stable)
  • Re: unable to write data to disk ad0
    ... > my main FreeBSD partition. ... your FreeBSD slice. ... not allow you to modify the label on the boot drive. ...
    (freebsd-questions)
  • Re: FreeBSD 5.1 PowerPak Installation problem
    ... FreeBSD 5.1 PowerPak Installation problem ... >> When you install Red Hat Linux, it allows you to label the multiple ... > is known and it is a issue of space, as the boot loader has to be very ...
    (freebsd-questions)
  • Re: FreeBSD 5.1 PowerPak Installation problem
    ... > When you install Red Hat Linux, it allows you to label the multiple ... > boot loader partitions and the FreeBSD generates the label per ... is known and it is a issue of space, as the boot loader has to be very ... Unregistered;) FreeBSD user ...
    (freebsd-questions)