• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to obtain the FAT serial number form a volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to obtain the FAT serial number form a volume


  • Subject: How to obtain the FAT serial number form a volume
  • From: Chris Driggett <email@hidden>
  • Date: Tue, 28 Feb 2012 19:50:25 -0800

All,

I would like to retrieve the FAT serial number from a volume mounted on Mac OS X  from a C program.  Here is how one can do it from the command line.

dd if=/dev/disk4s1 skip=67 bs=1 count=4 | hexdump -v -e '1/1 "X" " "'

I have not found how to do this with the CoreFoundation classes.  I also need to find this information out as a regular user not a privileged user or root.

If anybody can point me in the right direction I would appreciate it.

Thanks,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to obtain the FAT serial number form a volume
      • From: Mark Day <email@hidden>
  • Prev by Date: Re: Should I be concerned about the XATTR_SHOWCOMPRESSION option?
  • Next by Date: Re: How to obtain the FAT serial number form a volume
  • Previous by thread: Cumulative Folder Size
  • Next by thread: Re: How to obtain the FAT serial number form a volume
  • Index(es):
    • Date
    • Thread