//
//
//  OO_Copyright_BEGIN
//
//
//  Copyright 2010, 2018 IBM Corp. All rights reserved.
//
//  Redistribution and use in source and binary forms, with or without
//   modification, are permitted provided that the following conditions
//  are met:
//  1. Redistributions of source code must retain the above copyright
//     notice, this list of conditions and the following disclaimer.
//  2. Redistributions in binary form must reproduce the above copyright
//     notice, this list of conditions and the following disclaimer in the
//  documentation and/or other materials provided with the distribution.
//  3. Neither the name of the copyright holder nor the names of its
//     contributors may be used to endorse or promote products derived from
//     this software without specific prior written permission.
//
//  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
//  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
//  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
//  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
//  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
//  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
//  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
//  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
//  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
//  POSSIBILITY OF SUCH DAMAGE.
//
//
//  OO_Copyright_END
//

// Messages for the file backend.
// This backend shares IDs 12000-12999 with ibmtape, iokit and the backend interface functions,
// so be sure to make a note in messages/ltfs/root.txt whenever an ID is allocated here.
root:table {
	messages:table {
		start_id:int { 31000 }
		end_id:int { 31199 }

		31000I:string { "Opening a device through generic itdtimage driver (%s)." }
		31001E:string { "Failed to open %s: %s (%llu)." }
		31002E:string { "Failed to seek to %lld (%s, %lld)." }
		31003I:string { "Closing device through generic itdtimage driver (%s)." }
		31004D:string { "Backend read: %llu bytes (from position=(%u, %llu), FMs %llu)." }
		31005E:string { "Cannot read: unit not ready." }
		31006E:string { "Cannot rewind: unit not ready." }
		31007E:string { "Cannot locate: unit not ready." }
		31008E:string { "Cannot locate: invalid partition %lu." }
		31009E:string { "Cannot space: unit not ready." }
		31010E:string { "Cannot space: Unrecognized space type." }
		31011D:string { "state: CurrPosPart=%lld CurrPosBlck=%lld CurrPosFM=%lld Reserved=%d Locked=%d Ready=%d." }
		31012E:string { "Cannot read position: unit not ready." }
		31013E:string { "Cannot set capacity: must issue command from partition 0, block 0." }
		31014E:string { "Cannot format: must issue command from partition 0, block 0." }
		31015E:string { "Cannot format: unknown format type." }
		31016E:string { "Cannot get remaining capacity: unit not ready." }
		31017E:string { "Device already reserved." }
		31018E:string { "Cannot lock medium: unit not ready." }
		31019E:string { "Cannot unlock medium: unit not ready." }
		31020D:string { "Read attribute: %d %x." }
		31021E:string { "Cannot erase: unit not ready." }
		31022D:string { "Erase partition %lu." }
		// unused 31023
		31024E:string { "Cannot set compression: unit not ready." }
		31025E:string { "Cannot space %s: tried to space over BOT." }
		31026I:string { "Getting the device directory (%s)." }
		31027I:string { "No device directory is specified (%s)." }
		31028I:string { "Scanning the devices directory (%s)." }
		31029E:string { "Cannot open the device directory (%s)." }
		31030D:string { "Found a device (%s, %s, %s, %s)." }

		31195D:string { "Backend %s." }
		31196D:string { "Backend %s: %llu." }
		31197D:string { "Backend %s: (%llu, %llu)." }
		31198D:string { "Backend %s: (%llu, %llu) FM = %llu." }
		31199I:string { "itdtimg backend options:\n    -o devname=<dev>          tape device (default=%s)\n." }
	}
}
