blkdevalias.git
9 years agoAdd ChangeLog to version control
Bryn M. Reeves [Wed, 14 Nov 2012 23:12:39 +0000 (23:12 +0000)]
Add ChangeLog to version control

9 years agoAdd mkchangelog.sh script
Bryn M. Reeves [Wed, 14 Nov 2012 23:09:48 +0000 (23:09 +0000)]
Add mkchangelog.sh script

Add a script to generate ChangeLog from git-log

9 years agoAdd Makefile
Bryn M. Reeves [Wed, 14 Nov 2012 23:05:05 +0000 (23:05 +0000)]
Add Makefile

9 years agoDrop git hash from version and bump to 0.04
Bryn M. Reeves [Wed, 14 Nov 2012 22:55:17 +0000 (22:55 +0000)]
Drop git hash from version and bump to 0.04

9 years agoPrefix logging functions with '_'
Bryn M. Reeves [Wed, 14 Nov 2012 19:10:49 +0000 (19:10 +0000)]
Prefix logging functions with '_'

Prefix the names of the logging functions debug(), warn(), and
error() with an underscore.

9 years agoAdd GPL license header to blkdevalias
Bryn M. Reeves [Wed, 14 Nov 2012 19:09:17 +0000 (19:09 +0000)]
Add GPL license header to blkdevalias

9 years agoChange {nick,}name to alias in all comments and messages
Bryn M. Reeves [Wed, 14 Nov 2012 19:03:19 +0000 (19:03 +0000)]
Change {nick,}name to alias in all comments and messages

Complete the rename of "name" to "alias"

9 years agoHandle empty lines in map file
Bryn M. Reeves [Wed, 14 Nov 2012 14:28:42 +0000 (14:28 +0000)]
Handle empty lines in map file

9 years agoSpecfile fixes
Bryn M. Reeves [Thu, 8 Nov 2012 15:47:07 +0000 (15:47 +0000)]
Specfile fixes

Ensure that mpath-parent is properly installed.

9 years agoTruncate default map file to zero entries
Bryn M. Reeves [Thu, 8 Nov 2012 12:29:16 +0000 (12:29 +0000)]
Truncate default map file to zero entries

9 years agoFix typo (missing ' ') in querydisk output
Bryn M. Reeves [Thu, 8 Nov 2012 12:13:49 +0000 (12:13 +0000)]
Fix typo (missing ' ') in querydisk output

9 years agoAllow abbreviated commands
Bryn M. Reeves [Thu, 1 Nov 2012 01:39:18 +0000 (01:39 +0000)]
Allow abbreviated commands

Allow 'disk' and 'disks' to be dropped from command names.

9 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

9 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.

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

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

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

9 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.

9 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.

9 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

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