PFS ioctl example program: ioctl_example.c

This is a simple pfs example. It provides examples of several pfs
ioctl calls.

To compile the program:

	cc ioctl_example.c -o ioctl_example


To use this program make sure that you have a mounted pfs 
filesystem to use. You will need a file on that filesystem. Since
the operation is _destructive_ to the file, it is best if you
copy a file to the pfs or just touch a new file on the pfs
filesystem.

To run (remember this is destructive):

	./ioctl_example <path to pfs file>

	example:
	./ioctl_example /pfs/test/empty_file

Sample output:

PFS FS File:
                /pfs/test/empty_file

PFS FS Map:
  Base Component FS:            0
  Num Component FS:             4
  Stripe Stride Size:           524288

PFS Local FS Set:
  Num Slice Entries:            1
  Num Slices of Local FS:       1
    Local Component FS:         0

PFS File Layout Map:
  Base Component FS:            0
  Num FS Striped Across:        3
  Stripe Stride Size:           4194304

PFS Local Strides Set:
  Num Slice Entries:            2
  Num Slices of Local Strides:  1
    Local Stride:               0

Updated PFS File Layout Map:
  Base Component FS:            1
  Num FS Striped Across:        3
  Stripe Stride Size:           524288

Updated PFS Local Strides Set:
  Num Slice Entries:            2
  Num Slices of Local Strides:  0