2 content loading – Sun Microsystems MEDIACENTER 2.1 User Manual

Page 81

Advertising
background image

Chapter 5

Sun MediaCenter Server Utilities

5-9

the last argument in the command line if the

b

option is after the

f

option.

<blknum> immediately follows the option list if the

b

option precedes the

f

option.

w

Prompts you before overwriting already-existing content.

The

f

argument, which precedes a source

tar

file or device, is required for all

smc_tar

commands.

When writing to a

tar

file or device (

c

option), you are moving data from an MFS

to a tar device. When extracting from a

tar

file or device (

x

option), you are moving

data from a tar device to an MFS.

5.3.2

Content Loading

Before performing its file-loading function (

x

option),

smc_tar

performs parsing of

the TOC file and error checking on the index files. If it detects a value in one of these
files that implies an encoding error in a data file, it returns an error and exits. If

smc_tar

proceeds with and completes file installation, it indicates that the content

has been formatted correctly for use on the Sun MediaCenter server.

The content-loading function of

smc_tar

is illustrated in

FIGURE 5-1

.

Advertising