//
//  %Z% %I% %W% %G% %U%
//
//  ZZ_Copyright_BEGIN
//
//
//  Licensed Materials - Property of IBM
//
//  IBM Linear Tape File System Single Drive Edition Version 2.2.0.2 for Linux and Mac OS X
//
//  Copyright IBM Corp. 2010, 2014
//
//  This file is part of the IBM Linear Tape File System Single Drive Edition for Linux and Mac OS X
//  (formally known as IBM Linear Tape File System)
//
//  The IBM Linear Tape File System Single Drive Edition for Linux and Mac OS X is free software;
//  you can redistribute it and/or modify it under the terms of the GNU Lesser
//  General Public License as published by the Free Software Foundation,
//  version 2.1 of the License.
//
//  The IBM Linear Tape File System Single Drive Edition for Linux and Mac OS X is distributed in the
//  hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
//  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//  See the GNU Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//  or download the license from <http://www.gnu.org/licenses/>.
//
//
//  ZZ_Copyright_END
//

// Messages for mkltfs.
root:table {
	messages:table {
		start_id:int { 15000 }
		end_id:int { 15499 }

		15000I:string { "Starting mkltfs, %s version %s, log level %d" }
		15001E:string { "Cannot allocate LTFS volume structure" }
		15002E:string { "Option validation failed" }
		15003I:string { "Formatting device \'%s\'" }
		15004I:string { "LTFS volume blocksize: %lu" }
		15005I:string { "Index partition placement policy: %s" }
		15006D:string { "Opening the device" }
		15007D:string { "Device opened" }
		15008E:string { "Cannot open backend \'%s\'" }
		15009E:string { "Cannot open device \'%s\' (%d)" }
		15010I:string { "Creating data partition %c on SCSI partition %d" }
		15011I:string { "Creating index partition %c on SCSI partition %d" }
		15012E:string { "Failed to format the medium" }
		15013I:string { "Volume UUID is: %s" }
		15014E:string { "Cannot set policy override flag in the index (%d)" }
		15015E:string { "Cannot parse data placement rules (%d)" }
		//unused 15016E:string { "Cannot create a backup of the policy rules (%d)" }
		15019I:string { "Volume capacity is %llu GB" }
		15020D:string { "Closing the device" }
		15021W:string { "Cannot unload backend" }
		15022D:string { "Device closed" }
		15023I:string { "Formatting failed" }
		15024I:string { "Medium formatted successfully" }
		15025D:string { "Validating command line options" }
		15026E:string { "Device name must use the \'%s\' option" }
		//unused 15027E:string { "Block size must be greater than zero" }
		15028E:string { "Block size must be at least %d" }
		15029E:string { "Tape serial must be 6 characters" }
		15030E:string { "Tape serial must contain only ASCII digits and capital letters" }
		15031E:string { "Volume name must conform to file name rules" }
		//unused 15032E:string { "Data placement rules contain invalid characters" }
		//unused 15033E:string { "Data placement rules are too long" }
		15034E:string { "Cannot format data placement rules (%d)" }
		//unused 15035E:string { "Cannot parse data placement rules (%d)" }
		//unused 15036E:string { "Cannot specify name rules with a zero file size" }
		15037D:string { "Command line options are valid" }
		15038E:string { "Failed to unformat the medium" }
		15039I:string { "Unformatting failed" }
		15040I:string { "Medium unformatted successfully" }
		15041I:string { "Launched by \"%s\"" }
		15042I:string { "%s" }
		15043I:string { "GCC version is %s" }
		15044E:string { "Cannot set up tape device" }
		15045E:string { "Formatting was canceled by the user" }
		15046E:string { "Unformatting was canceled by the user" }
		15047E:string { "Medium is already formatted (%d)" } // 2.2.0.2
		15048I:string { "Need to specify -f or --force option to format this medium" }
                15049I:string { "Checking the medium (%s)" } // 2.2.0.2
		15050E:string { "Cannot open key manager interface backend \'%s\'" }
		15051W:string { "Cannot unload key manager interface backend" }
		15052E:string { "Could not initialize the key manager interface plug-in. \'%s\' (%d)" }
		15053E:string { "Key manager interface backend option parsing failed" }
		15054E:string { "Tape backend option parsing failed" }
		15055E:string { "Unknown option '%s %s'" }
		15056E:string { "Failed to decrypt the medium" }
		15057I:string { "Need to specify the correct data key or -f option to format this medium" }
		15058E:string { "Cannot set the tape attribute: %s" }
		15059I:string { "%s version %s" } // 2.2.0.2
		15060E:string { "Index criteria update is not allowed on this medium" } // 2.2.0.2
		15061E:string { "Failed to format the medium due to WORM error" } // 2.2.0.2
		15062E:string { "Failed to unformat the medium due to WORM error" } // 2.2.0.2
		
		15063E:string { "Eject and write-enable the cartridge then try again." }
		15064I:string { "Cartridge in device %s will be unformatted" }
		15065I:string { "Removing LTFS format..." }

		// Help messages
		15400I:string { "Usage: %s <options>" }
		15401I:string { "Available options are:" }
		15402I:string { "  -d, --device=<name>       Tape device (required)" }
		15403I:string { "  -s, --tape-serial=<id>    Tape serial number (6 alphanumeric ASCII characters)" }
		15404I:string { "  -n, --volume-name=<name>  Tape volume name (LTFS VOLUME by default)" }
		15405I:string { "  -r, --rules=<rules>       Rules for choosing files to write to the index partition.\n                            The syntax of the rule argument is:\n                                size=1M\n                                size=1M/name=pattern\n                                size=1M/name=pattern1:pattern2:pattern3\n                            A file is written to the index partition if it is no larger\n                            than the given size AND matches at least one of the name\n                            patterns (if specified). The size argument accepts K, M, and G\n                            suffixes. Name patterns might contain the special characters\n                            '?' (match any single character) and '*' (match zero or more\n                            characters)." }
		15406I:string { "      --no-override         Disallow mount-time data placement policy changes" }
		15407I:string { "  -q, --quiet               Suppress progress information and general messages" }
		15408I:string { "  -t, --trace               Enable function call tracing" }
		15409I:string { "  -h, --help                This help" }
		15410I:string { "Usage example:" }
		15411I:string { "  %s --device=%s --rules=\"%s\"" }
		15412I:string { "  -p, --advanced-help       Full help, including advanced options" }
		15413I:string { "  -i, --config=<file>       Use the specified configuration file (default: %s)" }
		15414I:string { "  -e, --backend=<name>      Use the specified tape device backend (default: %s)" }
		15415I:string { "  -b, --blocksize=<num>     Set the LTFS record size (default: %d)" }
		15416I:string { "  -c, --no-compression      Disable compression on the volume" }
		15417I:string { "  -x, --fulltrace           Enable full function call tracing (slow)" }
		15418I:string { "  -w, --wipe                Restore the LTFS medium to an unpartitioned medium (format to a legacy scratch medium)" }
		15419I:string { "  -k, --keep-capacity       Keep the tape medium's total capacity proportion" }
		15420I:string { "  -f, --force               Force to format medium" }
		15421I:string { "      --kmi-backend=<name>  Use the specified key manager interface backend (default: %s)" }
		
		// Hewlett Packard Enterprise additions
		15488E:string { "Unable to format volume belonging to Archive Manager spanned set" }
		15489E:string { "Unable to unformat volume belonging to Archive Manager spanned set" }
		
		15490E:string { "Tape already contains an LTFS volume.  Need -f option to force reformat" }
		15491I:string { "  -f, --force               Force reformat of existing LTFS volume (normally prevented)" }
		15422I:string { "      --syslogtrace         Enable diagnostic output to stderr and syslog" } // 2.2.0.2
		15423I:string { "  -V, --version             Version information" } // 2.2.0.2
		15424I:string { "      --long-wipe           Unformat the medium and erase any data on the tape by overwriting special data pattern.\n                            This operation takes over 3 hours. Once you start, you cannot interrupt it." }
		15492I:string { "This operation will result in irrecoverable loss of data on the tape (Data or LTFS formatted). \n"
				"Enter 'Y' if you agree or any other key to abort." }
		15493I:string { "Operation aborted." }
		15494E:string { "Unformat unsuccessful, tape already unformatted." }
		15495I:string { "LTFS Unformat Utility\n" }
		15496I:string { "  -g, --interactive         Interactive mode" }
		15497I:string { "Operation succeeded. Cartridge no longer contains a valid LTFS volume." }
		15498E:string { "Operation failed.  Volume may be in a confused state.." }
		15499E:string { "Unable to open device; check name and ensure it is not in use." }
	}
}
