• 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: Is it possible to figure out if "File Vault" is in use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to figure out if "File Vault" is in use?


  • Subject: Re: Is it possible to figure out if "File Vault" is in use?
  • From: James Bucanek <email@hidden>
  • Date: Mon, 13 Nov 2006 09:19:44 -0700

Andrei Tchijov wrote on Saturday, November 4, 2006:
>   My application needs to know if user is using "File Vault" (some
>bits of application need to be installed differently if he/she does).
>How it could be accomplished?

When a user is using File Vault, their home folder is mount point on a separate volume, backed by a sparse disk image file. I haven't tried this, but I would assume that you could get the file system identifier or device number for the user's home directory (/Users/jane) and compare that against the one for the parent directory (/Users). If they are different, then their home folder is mounted on a different file system, which probably indicates that they are using File Vault. It could also indicate that their an ex-Linux user with too much time on their hands too.

In addition, you could look for the File Vault disk image, which is an invisible file in the same location as their home folder. I can't recollect the details (I'm not on a system with FV enabled, and it's been some time since I looked into this). The name of the FV image isn't documented anywhere, but has been pretty consistent so I think it's unlikely to change -- but that's no guarantee.

But together, I would be say that those two bits of information would be a pretty definative indication that a user was using File Vault.

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

This email sent to email@hidden

References: 
 >Is it possible to figure out if "File Vault" is in use? (From: Andrei Tchijov <email@hidden>)

  • Prev by Date: NSDrawerFrame, NSDrawerWindow and transparency
  • Next by Date: Configurations in Core Data
  • Previous by thread: Re: Is it possible to figure out if "File Vault" is in use?
  • Next by thread: Re: Is it possible to figure out if "File Vault" is in use?
  • Index(es):
    • Date
    • Thread