Patent ID: 7519767

Claim:
A method of accessing data on a non-tape-based storage medium, using tape-based media commands, the method comprising: receiving tape-based media commands using filemark locations and block numbers; emulating a tape-based storage medium to have emulated tape-media by interfacing with the non-tape-based storage medium using said tape-based media commands by mapping from the filemark locations and the block numbers to the non-tape-based storage medium; determining if a received tape-based media command is a read command, a write command or a space command and, if the command is determined to be a space command, processing the space command; wherein processing a space command comprises: determining if the space command is requesting a space to a filemark and, if the command is determined to be requesting a space to a filemark, further: determining if there are enough filemarks on the emulated tape-media in the direction specified by the space command; and if it is determined that there are enough filemarks in the specified direction, setting a value of a filemark position to a value requested by the space command and indicating that the space command was correct and completed successfully or, if it is determined that there are not enough filemarks in the specified direction, setting a filemark position to a greatest possible value before an End of Data or Beginning of Media position and indicating an error.