ADSM-L

Re: linux-client

1996-02-01 07:05:21
Subject: Re: linux-client
From: Bob Douglas <bob.douglas AT COMPUTING-SERVICES.OXFORD.AC DOT UK>
Date: Thu, 1 Feb 1996 12:05:21 +0000
>Can anyone tell me if there is a linux-client. Or if one is being
>developed at this moment.

We use the SCO client on Linux systems. We have encountered no
significant problems using it (but of course, IBM don't support
this client under Linux). It is fairly easy to install with the
following caveats:

(a) You require a kernel with iBCS (Intel Binary Compatibility
    Specification). Kernels 1.2.x and latter should have this.

    You will need (if you haven't already got them) the iBCS
    modules for your current kernel (1.2.13 assumed below).
    The filename is iBCS.o.

    Copy this file to (for example) /linux/modules/1.2.13/iBCS.o
    on your Linux system, and call (under root)

        /sbin/insmod /linux/modules/1.2.13/iBCS.o

    each time you boot the system. The following lines can
    be added to /etc/rc.d/rc.local to achieve this:

        # Load the Intel Binary Compatibility Specification module
        if [ -r /linux/modules/1.2.13/iBCS.o ]; then
          echo "Loading the Intel Binary Compatibility Specification module ..."
          /sbin/insmod /linux/modules/1.2.13/iBCS.o
        fi

(b) SCO unix uses a file /etc/mnttab to describe its filesystems,
    whereas Linux uses /etc/mtab. Is is necessary to derive a
    file mnttab from your existing mtab file. The file mkmnttab
    (appended below) is a Perl script which does just this.
    Assuming you have Perl installed on your Linux system,
    just call

        ./mkmnttab

    to make this /etc/mnttab.

Regards,
Bob Douglas

---------------------------- mkmnttab script -------------------------
#! /usr/bin/perl
#! /usr/bin/perl

# Convert a Linux /etc/mtab file to SCO /etc/mnttab format

$mnttab_struct = "a32 a32 I L";

open (MTAB, "/etc/mtab")       || die "Cannot open /etc/mtab: $!\n";
open (MNTTAB, ">/etc/mnttab")  || die "Cannot open /etc/mnttab: $!\n";

while (<MTAB>) {
    chop;
    /^(\S*)\s(\S*)\s(\S*)\s.*$/;

    $device = $1;
    $mountpt = $2;
    $fstype = $3;

    if ($fstype ne "nfs" && $fstype ne "proc") {
        $mnttab_rec = pack ($mnttab_struct, $device, $mountpt, 0x9d2f, time());
        syswrite (MNTTAB, $mnttab_rec, 72);
        print "Made entry for: $device, $mountpt $fstype\n";
    }
}

close (MTAB);
close (MNTTAB);
exit (0);
----------------------------------------------------------------------
=========================================================================
<Prev in Thread] Current Thread [Next in Thread>