Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

/nsr/res/nsrdb 1

Status
Not open for further replies.

pporteau

Technical User
Jan 30, 2007
33
FR
Hello EvEryBody [smile2]


Is somebody know how is calculate the name
in this directory /nsr/res/nsrdb in NETWORKER 7.2 and
How it's work !

Best regards [wink]

 
Actually, each resource which has been stored in nsr.res and nsrjb.res now is saved in a separate file. The file name is nothing else but the hexadecimal encoded form of the resource id which you find at the end of each resource description.
- At the beginning you find an index number
- At ther end there is the IP address
- In the middle ... (i don't know)

If you want to find a certain resource, this is not easy any more. For UNIX/Linux, you must recursively search a certain string, for example with this command:

find /nsr/res/nsrdb -type f -exec grep -l "string" {} \;


Do not forget: If you ever changed a resource file you must restart the daemons to make NW become aware of this change!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top