How to obtain the FAT serial number form a volume
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