RISCOS.com

www.riscos.com Technical Support:
Acorn Omniclient User Guide

 

Appendix B: NFS star commands


*Free

Displays free space on a mount

Syntax

*Free [mountname]

Parameters

mountname is the name of an NFS mount point

Use

*Free displays your available free space on a mount, the total free space on that mount, and the size of the mounted filesystem. If the mounted filesystem is using quotas, *Free shows your free and used space on it, the quota beneath which you are expected to remain, and the absolute limit of usage that you cannot exceed.

If no mountname is given, the current one is used.

Example

*Free tp1usr

No quota on tp1usr
Space on filing system:
Free 69 889K
Available 33 168K
Size 367 218K

*Free home

Bytes free 9 626K
Bytes used 374K
Bytes quota 10 000K
Bytes limit 12 000K

Related commands

None


*Logon


Sets the name server to use and/or authenticates a user/password pair

Syntax

*Logon [-Host hostname] [username[[CR]password]]

Parameters

hostname the host to be used as the name server for this and subsequent name requests
username the user whose details are to be authenticated on the name server
password the user's password, which - if omitted - you will be prompted for

Use

*Logon sets the name server to use and/or authenticates a user/password pair, depending on the parameters passed:

Examples

*Logon -Host tp1 Sets tp1 as the current name server.
*Logon mhardy Prompts for the password, which is reflected as dashes; authenticates the pair using the current name server (ie tp1); if the password is valid, sets the current user to mhardy.
*Logon Displays the current user (mhardy) and the current name server (tp1).

Related commands

*Mount


*Mount


Lists or mounts NFS mount points

Syntax

*Mount [-Host hostname] [mountname [mountpath]]

Parameters

hostname the host to be used as the NFS server for this and subsequent mount requests
mountname the name by which RISC OS will refer to this mount point
mountpath the directory on the NFS server which shall act as $ on NFS::mountname

Use

*Mount lists or mounts NFS mount points, depending on the parameters passed:

The files accessed via a mount point are always accessed using the details of the user which was current at the time the *Mount command was executed.

Examples

*Mount -Host tp1 tp1usr /usr Mounts the directory /usr on the host tp1, giving it the mount name tp1usr.
*Mount tp1usr Resets the URD, CSD, PSD and Library for the mount named tp1usr to $ on that mount
*Mount -Host tp1 Lists all mount points on tp1.
*Mount Lists all mount points.

Related commands

*Logon


*NFS


Selects NFS as the current filing system

Syntax

*NFS

Use

*NFS selects NFS as the filing system for subsequent operations. Remember that it is not necessary to switch filing systems if you use the full pathnames of objects. For example, you can refer to ADFS objects when NFS is the current filing system.

Example

*NFS

Related commands

*ADFS, *Net, *RAM, *ResourceFS, *SCSI


*NFSInfo


Displays NFS module internal statistics

Syntax

*NFSInfo

Use

*NFSInfo displays detailed information about NFS module activity, including known hosts, users, URDs, CSDs, PSDs and Libraries, and details of its cache performance.

Most of the information displayed is runic in nature. It is presented mainly as an aid to trouble-shooting, should you require it.

Example

*NFSInfo

Host list:
name=<tp1>, usage = 1
name=<tp2>, usage = 1
name=<tp3>, usage = 2

Cache hits 90051; Cache misses 36385

User list:
name=<mhardy>, uid=<1234>, gid=<27>, usage = 1
name=<nobody>, uid=<32767>, gid=<9999>, usage = 1
CSD: 0x1844144, <>
PSD: 0x1844144, <>
URD: 0x1844144, <>
Library: 0x1844144, <>

Related commands

None


*TimeOffset


Sets the time offset in minutes from GMT to local time

Syntax

*TimeOffset minutes

Parameters

minutes minutes offset from GMT to local time

Use

*TimeOffset sets the time offset in minutes from GMT to local time. RISC OS NFS adds this offset when it interprets the server's date stamps, which it assumes to be in GMT. The offset can be negative or positive.

Example

*TimeOffset 60

Related commands

None

This edition Copyright © 3QD Developments Ltd 2015
Last Edit: Tue,03 Nov 2015