Ignore:
Timestamp:
Mar 5, 2010 1:59:52 PM (14 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-3.01, version-3.02
Children:
e777dab
Parents:
593e901
Message:

PG works (w/o routing)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/smbmount.Linux.pl

    r593e901 r73e0a61  
    1010$PUSER=shift || "jhickey";
    1111$PNAME=shift || "emulab-ops";
     12$FSTYPE=shift || 'cifs';
    1213$FSTAB="/etc/fstab";
    1314$HOMEROOT="/users";
     
    6869
    6970        print FSTAB "//$SHARE/$user\t";
    70         print FSTAB "$homedir\tcifs\t";
     71        print FSTAB "$homedir\t$FSTYPE\t";
    7172        print FSTAB "auto,rw,credentials=/tmp/$user.cifs_creds,ip=$ADDR\t0\t0\n";
    7273
     
    8687            if ( $share) {
    8788                print FSTAB "//$SHARE/share\t";
    88                 print FSTAB "/share\tcifs\t";
     89                print FSTAB "/share\t$FSTYPE\t";
    8990                print FSTAB "rw,credentials=/tmp/$user.cifs_creds,ip=$ADDR\t0\t0\n";
    9091
     
    9798close(FSTAB);
    9899
    99 print("Mounting the cifs versions of everything\n");
    100 system("$MOUNT -a -t cifs");
     100print("Mounting the $FSTYPE versions of everything\n");
     101system("$MOUNT -a -t $FSTYPE");
Note: See TracChangeset for help on using the changeset viewer.