[ILUG] mount filesystem types

Gavin McCullagh gavin at fiachra.ucd.ie
Wed Aug 8 13:00:40 IST 2001


On Wed, 08 Aug 2001, declan at declan.nuvotem.com wrote:

> For some 'tidying up' work I have to telnet in and use the sco command line, which is not so nice as bash, for things like repeating the last command and changing it slightly.. have to press Esc,- and then use vi-style editing commands, not as nice as pressing up and simply changing the command simply.

I suspect you can change the shell editor from vi to emacs or something else.

> How do I go about this .. what do I need to know about the sco filesystem .. I think it runs an NFS server at startup, so can I specify that as a filesystem type to the mount command ? .. how do I identify the machine .. i know its 'hostname' but how do I access the resources on that machine ?

Before doing this, bear in mind nfs is not very secure.  Be careful how network visible this machine is.

The file /etc/exports on a linux nfs server allows you to give specific hosts on the network nfs access to specific directories. Add a line something like

/some/directory		someotherhost(rw)

then restart nfs server.  I assume this is vaguely equivalent on the SCO machine but it may not be in /etc.

On the client (it's linux right?)

a line in /etc/fstab such as:

scohostname:/some/directory      /mnt/mountpoint            nfs     rw,soft,intr,nfsvers=3,rsize=8192,wsize=8192     0 0

The options can vary, but those should work I think

create the directory

/mnt/mountpoint

and do

mount -a

You probably also have to set up TCP warppers to allow this on the SCO machine. Again, I don't know SCO, it may be different but it's ilke this on linux.

in /etc/hosts.allow

portmap: 192.168.0.5 : ALLOW

where 192.168.0.5 is the *ip* *address* of the nfs client box.

hope this helps.

Gavin






More information about the ILUG mailing list