# This file defines iSCSI targets to export.
#
# The format of each line is:
# TID LUN FILENAME OPTIONAL-SCRIPT
# The FILENAME is exported with target id of TID and logical unit number
# of LUN.  The OPTIONAL-SCRIPT is run to configure this mapping.
#
# The FILENAME may refer to a file or a block device.  If the filename is
# not absolute, it is assumed relative to /srv/iscsi/. 
#
# TID and LUN may each range from 0 to 15.
#
# If the OPTIONAL-SCRIPT is not specified a default one is used, which should
# work fine for files and for block devices that report their size via /proc.
# If you have special needs, you may write your own script.  (Look in
# /etc/init.d/unh_iscsi_target for an example.)  The TID, LUN, and FILENAME
# are passed as arguments to your script, in that order.  For example, if
# a line reads as:
#   0 0 disk0_0 /usr/local/bin/target-up
# The following command will be executed:
#   /usr/local/bin/target-up 0 0 /srv/iscsi/disk0_0
#
# Examples:
#0 0 disk0_0
#0 1 disk0_1
#0 2 disk0_2
#0 3 disk0_3
#1 0 /dev/hda3
#1 1 /dev/hda4
#1 2 /dev/foo /usr/local/bin/disk-target-up
#1 3 /dev/bar /usr/local/bin/disk-target-up
