~ubuntu-branches/ubuntu/intrepid/multipath-tools/intrepid-proposed

« back to all changes in this revision

Viewing changes to kpartx/devmapper.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2007-12-13 03:03:31 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20071213030331-bp0r75kwexi0o33m
Tags: 0.4.8-5ubuntu1
* Merge from debian unstable, remaining changes:
  - DebianMaintainerField.
  - Suggest sg3-utils, Conflict with sg-utils.
  - Replace multipath-tools-boot init script with udev rules in
    kpartx.rules.
  - Add /sbin/hsg80_start.
  - Move udev rules to priority 95, and drop call to dmsetup_env.
  - Add devices as they appear
  - Fix preinst script to modprobe dm-multipath. This will make sure
    that multipathd will be able to start.
  - Fix init script not to die on stop if multipathd is not running.
  - Add prerm script to not fail when upgrading from a broken version of
    multipathd.
  - Set umask in multipathd.
  - Handle udev rules priority change in preinst.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
int dm_prereq (char *, int, int, int);
2
2
int dm_simplecmd (int, const char *);
3
 
int dm_addmap (int, const char *, const char *, const char *, unsigned long);
 
3
int dm_addmap (int, const char *, const char *, const char *, unsigned long,
 
4
               char *, int);
4
5
int dm_map_present (char *);
5
6
char * dm_mapname(int major, int minor);
6
7
dev_t dm_get_first_dep(char *devname);
 
8
char * dm_mapuuid(int major, int minor);
 
9
int dm_devn (char * mapname, int *major, int *minor);