blkdevalias.git
8 years agoInstall mpath-parent in rpm spec file
Bryn M. Reeves [Thu, 1 Nov 2012 01:33:01 +0000 (01:33 +0000)]
Install mpath-parent in rpm spec file

8 years agoWork around to get WWID for mpath partitions
Bryn M. Reeves [Thu, 1 Nov 2012 01:29:23 +0000 (01:29 +0000)]
Work around to get WWID for mpath partitions

Partitions don't accept SG_IO ioctls anymore so we need
to run scsi_id on the parent mpath device. There's no
way to get this from the current standard dm udev
environment so add a hack to generate it from DM_NAME.

8 years agoRename NNAME (nickname) -> ALIAS
Bryn M. Reeves [Wed, 31 Oct 2012 20:12:44 +0000 (20:12 +0000)]
Rename NNAME (nickname) -> ALIAS

The script was previously claled nickname. ALIAS is a better name
for the variable that makes the use more clear.

8 years agoUpdate configure message for name change
Bryn M. Reeves [Wed, 31 Oct 2012 20:09:05 +0000 (20:09 +0000)]
Update configure message for name change

8 years agoRename wwid add/del functions to match ba_ prefix
Bryn M. Reeves [Wed, 31 Oct 2012 20:07:55 +0000 (20:07 +0000)]
Rename wwid add/del functions to match ba_ prefix

8 years agoRename WM_ and wm_ prefixes to BA_ and ba_
Bryn M. Reeves [Wed, 31 Oct 2012 20:04:52 +0000 (20:04 +0000)]
Rename WM_ and wm_ prefixes to BA_ and ba_

Complete rename from WwidMap to BlkdevAlias

8 years agoFix quoting in string comparisons
Bryn M. Reeves [Wed, 31 Oct 2012 20:02:01 +0000 (20:02 +0000)]
Fix quoting in string comparisons

8 years agoAdd udev rule file to RPM file list
Bryn M. Reeves [Wed, 31 Oct 2012 19:47:32 +0000 (19:47 +0000)]
Add udev rule file to RPM file list

8 years agoFix packaging of udev rules file
Bryn M. Reeves [Wed, 31 Oct 2012 19:34:00 +0000 (19:34 +0000)]
Fix packaging of udev rules file

8 years agoFix udev rules to use new command name
Bryn M. Reeves [Wed, 31 Oct 2012 19:26:19 +0000 (19:26 +0000)]
Fix udev rules to use new command name

8 years agoInstall empty map from tarball instead of touching
Bryn M. Reeves [Wed, 31 Oct 2012 19:23:43 +0000 (19:23 +0000)]
Install empty map from tarball instead of touching

8 years agoAdd usage information and examples to README
Bryn M. Reeves [Wed, 31 Oct 2012 19:22:59 +0000 (19:22 +0000)]
Add usage information and examples to README

8 years agoAdd RPM spec file to version control
Bryn M. Reeves [Wed, 31 Oct 2012 19:22:45 +0000 (19:22 +0000)]
Add RPM spec file to version control

8 years agoUpdate udev rules file
Bryn M. Reeves [Wed, 31 Oct 2012 18:59:02 +0000 (18:59 +0000)]
Update udev rules file

Correct several bugs in the udev rules and fix support for whole-
disk vs. partitioned devices. Udev link priorities are used to
prefer multipath over sd and partitions over whole-disks. This
may not work for all situations but covers those documented in
the existing guides.

8 years agoAdd empty map file templatet to version control
Bryn M. Reeves [Wed, 31 Oct 2012 18:58:31 +0000 (18:58 +0000)]
Add empty map file templatet to version control

8 years agoRename wwidmap -> blkdevalias
Bryn M. Reeves [Wed, 31 Oct 2012 18:58:16 +0000 (18:58 +0000)]
Rename wwidmap -> blkdevalias

8 years agoAdd COPYING and README
Bryn M. Reeves [Tue, 30 Oct 2012 17:58:42 +0000 (17:58 +0000)]
Add COPYING and README

8 years agoFix querydisk -d output
Bryn M. Reeves [Tue, 30 Oct 2012 16:52:02 +0000 (16:52 +0000)]
Fix querydisk -d output

Stat's field formatters produce maj:min values in hex. Pass them
through the shell's arithmetic expansion to decmialise them before
using so that they match the oracleasm and ls -l output.

8 years agoAdd wm_querydisk implementation
Bryn M. Reeves [Tue, 30 Oct 2012 16:39:09 +0000 (16:39 +0000)]
Add wm_querydisk implementation

Implement "wwidmap querydisk" to print the same information as the
oracleasm equivalent.

8 years agoMisc. tidyups
Bryn M. Reeves [Tue, 30 Oct 2012 16:38:01 +0000 (16:38 +0000)]
Misc. tidyups
- Load map for all commands
- Tidy up debug output
- Add traling newline to configure message

8 years agoInitial commit
Bryn M. Reeves [Tue, 30 Oct 2012 00:10:07 +0000 (00:10 +0000)]
Initial commit