FreeBSD: how to read serial # from HD?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rowan
    Too lazy to set a custom title
    • Mar 2002
    • 17393

    #1

    FreeBSD: how to read serial # from HD?

    Is there a way to report the serial # from an installed IDE HD under FreeBSD?
  • teksonline
    So Fucking Banned
    • Jan 2005
    • 2904

    #2
    serial number or model number?

    check /var/run/dmesg.boot

    Comment

    • rowan
      Too lazy to set a custom title
      • Mar 2002
      • 17393

      #3
      Serial number. I've already seen the model number at boot

      Comment

      • teksonline
        So Fucking Banned
        • Jan 2005
        • 2904

        #4
        well start thinking, what would be the serial number, generated at time of formatting a volume? and what tools do you have for that?

        Comment

        • PolySix
          Registered User
          • Feb 2005
          • 19

          #5
          You can use the smartctl utility to get the hard drive serial number.

          It is part of smartmontools.

          Comment

          • rowan
            Too lazy to set a custom title
            • Mar 2002
            • 17393

            #6
            Originally posted by teksonline
            well start thinking, what would be the serial number, generated at time of formatting a volume? and what tools do you have for that?
            Uh... I just want the physical drive's serial number, nothing to do with formatting. It's to check when it was manufactured.

            Comment

            Working...