Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Read QNX6 fs UUIDs: (3 Items)
   
Read QNX6 fs UUIDs  
Hi,

Is there any code or examples of how to read back the UUID from a QNX6 filesystem?   I'm looking for a way to uniquely 
identify them early in our boot sequence without having to leave cookie files behind.   I looked for utility that could 
do this, a function call, or documentation on the superblock format so I could do it myself, but I couldn't find 
anything obvious.

Thanks,
-Will
RE: Read QNX6 fs UUIDs  
devctl(DCMD_FSYS_LABEL)  will return a string containing a the UUID.

-----Original Message-----
From: Will Miles [mailto:community-noreply@qnx.com] 
Sent: November-05-14 3:48 PM
To: general-filesystems
Subject: Read QNX6 fs UUIDs

Hi,

Is there any code or examples of how to read back the UUID from a QNX6 filesystem?   I'm looking for a way to uniquely 
identify them early in our boot sequence without having to leave cookie files behind.   I looked for utility that could 
do this, a function call, or documentation on the superblock format so I could do it myself, but I couldn't find 
anything obvious.

Thanks,
-Will



_______________________________________________

General
http://community.qnx.com/sf/go/post112279
To cancel your subscription to this discussion, please e-mail general-filesystems-unsubscribe@community.qnx.com
Re: RE: Read QNX6 fs UUIDs  
That's great!  Thank you very much.   I'll just plug it right in to an mcd_content() hook, then. :)

-Will