~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to include/grub/util/lvm.h

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-09-13 18:02:04 UTC
  • mfrom: (1.17.15 upstream)
  • mto: (17.6.27 experimental)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: package-import@ubuntu.com-20120913180204-mojnmocbimlom4im
Tags: upstream-2.00
ImportĀ upstreamĀ versionĀ 2.00

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* lvm.h - LVM support for GRUB utils.  */
2
2
/*
3
3
 *  GRUB  --  GRand Unified Bootloader
4
 
 *  Copyright (C) 2006,2007  Free Software Foundation, Inc.
 
4
 *  Copyright (C) 2006,2007,2011  Free Software Foundation, Inc.
5
5
 *
6
6
 *  GRUB is free software: you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
20
20
#ifndef GRUB_LVM_UTIL_HEADER
21
21
#define GRUB_LVM_UTIL_HEADER    1
22
22
 
 
23
#if defined(__linux__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 
24
 
23
25
#ifdef __linux__
 
26
#define LVM_DEV_MAPPER_STRING "/dev/mapper/"
 
27
#else
 
28
#define LVM_DEV_MAPPER_STRING "/dev/linux_lvm/"
 
29
#endif
 
30
 
24
31
int grub_util_lvm_isvolume (char *name);
25
32
#endif
26
33