beautypg.com

3 share table (list of shared resources) – Siemens Unix V4.0 User Manual

Page 14

background image

Introduction to Advanced Server for UNIX

Shared resources

Product Manual

U7613-J-Z815-6-76

©

S

iem

e

n

s

N

ix

dor

f

In

fo

rm

at

io

n

s

s

y

s

te

m

e

A

G

1

9

9

5

P

fad

: D:

\O

7

613

e6

\u

761

3e

.k

02

Existing configurations are not modified during an upgrade installation. You should
therefore use either the Registry Editor or the

regconfig

command to set the value of the

EAFilePrefix

parameter in the registry to

.EA@

under the key

SYSTEM\CurrentControlSet\Services\AdvancedServer
\FileServiceParameters.

If you previously operated Advanced Server for UNIX V4.0A10 with the setting UseEAs=1,
you will now have to rename all hidden shadow files with the extended file attributes.

Use the following command to display all existing shadow files:

find / -type f -name ’.ea@*’ -print

The following shell script can be used to give all old shadow files the new prefix

.EA@

:

for eafile in ‘find / -type f -name ’.ea@*’ -print‘
do

newfile="‘echo $eafile | sed ’s/\.ea@/.EA@/’‘"
echo rename "$eafile" to "$newfile"
mv "$eafile" "$newfile"

done

Advanced Server for UNIX will only find the extended attributes of a file if the

associated hidden shadow file has the same prefix as is set in the current Advanced
Server for UNIX configuration instance. It would be best to change the file and
directory names and the registry parameters when the server is stopped and then
start the server again.

2.2.3

Share table (list of shared resources)

All shared resources are comprised in the share table. Every resource shared using the
command

net share

is entered in the share table. Every resource deleted using

net share

/delete

is removed from the share table.

Advanced Server for UNIX stores the share table in an internal format in the registry. The
share table is loaded automatically each time Advanced Server for UNIX is started. The
various types of shared resources are introduced in the following sections.

!