~mrooney/ecryptfs/nautilus-integration

« back to all changes in this revision

Viewing changes to src/utils/ecryptfs-setup-swap

  • Committer: Dustin Kirkland
  • Date: 2009-05-18 17:02:55 UTC
  • Revision ID: kirkland@canonical.com-20090518170255-6q3jhluq044hiuyr
  * src/utils/ecryptfs-setup-swap: switch from vol_id to blkid,
    LP: #376486


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
fi
84
84
 
85
85
# Make sure this is swap space
86
 
if ! vol_id "$swap" | grep -qs "ID_FS_TYPE=swap"; then
 
86
if ! blkid "$swap" | grep -qs "TYPE=.*swap"; then
87
87
        error "[$swap] does not appear to be swap space"
88
88
fi
89
89