• 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
Re: Checking if a volume is a FileVault volume?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking if a volume is a FileVault volume?


  • Subject: Re: Checking if a volume is a FileVault volume?
  • From: "Dirk Stegemann (Mailing-Lists)" <email@hidden>
  • Date: Fri, 18 Jan 2008 03:10:03 +0200

Hello,

Am 18.01.2008 um 02:23 schrieb Terry Lambert:

It's grotty, but you could iterate the mounted volumes to get a list of volume/device names, and then iterate the devices in the ioreg, and then from there see if it's a .dmg or a sparse .dmg.

Knowing that it's sparse isn't enough though; you'd then have to look at the image itself (not sure of O_EXCL is being used), and look at the header on it, and see if the "encrypted" bit is being set or not.

This doesn't reliably determine whether the image is used to host a FileVault user's home folder.
In fact, I use encrypted sparse images all the time when handling sensitive source code: the encryption is a requirement, and the "sparse" option is for convenience (when working with fixed-sized images, I usually run out of disc space sooner or later).


The OP will have to look for a different way to find out what he is looking for...

Best,
Dirk Stegemann

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


References: 
 >Checking if a volume is a FileVault volume? (From: Nick Zitzmann <email@hidden>)
 >Re: Checking if a volume is a FileVault volume? (From: Terry Lambert <email@hidden>)
 >Re: Checking if a volume is a FileVault volume? (From: Nick Zitzmann <email@hidden>)
 >Re: Checking if a volume is a FileVault volume? (From: Terry Lambert <email@hidden>)

  • Prev by Date: Re: Checking if a volume is a FileVault volume?
  • Next by Date: Re: Two Machine Debugging and the MacBook Air?
  • Previous by thread: Re: Checking if a volume is a FileVault volume?
  • Next by thread: Re: Checking if a volume is a FileVault volume?
  • Index(es):
    • Date
    • Thread