Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'device vs. devicename - location of uuid file?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
device vs. devicename - location of uuid file?
Authored by: cilly on Aug 06, '03 02:47:00AM

First, I am confused about the variables you use:

You define a devicename as disk ID, i.e. disk0s10.

Two lines later you use device, should device be different than the devicename?

Second, is there a standard location for the UUID-file?

~/file_to_store_uuid_in can't be the correct location in my opinion.

Which location is used for this and what filename is used?

---
--
info@cilly.com



[ Reply to This | # ]
device vs. devicename - location of uuid file?
Authored by: varelse on Aug 13, '03 05:39:23PM
First: Yes, he used the different variable names for the same device.

Second: that is just a temp file to store the UUID number. You could just run the command without the redirection but it will output to the screen and will put on the same line as your command prompt, for example

root:~# /System/Library/Filesystems/hfs.fs/hfs.util -k disk1s5
76D5956A649AE55Croot:~#

Now you can just cut-and-paste the UUID (16 chars) into fstab but just be sure to NOT get any of the prompt (root:~#)

[ Reply to This | # ]