Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
NFS comparison between Solaris and Linux
Results 1 to 2 of 2

Thread: NFS comparison between Solaris and Linux

  1. #1

    NFS comparison between Solaris and Linux

    Hi

    I am having working experience in Solaris..I m a newbie to Linux..

    In solaris using "share" command, we can share the directories in "command line".But in Linux accoring to my knowledge,the only way to export the directories is making entry in /etc/exports file.Isnt there no choice to export directories in COMMAND line..


    I read that /var/lib/nfs/xtab is initialized by the exportfs -a command. But it is not initialized, when i did.This file is initialized only after mounting the exported directories in the clients side.

    is this file simailar to /etc/dfs/sharetab in solaris?

    Pls clarify my doubts...

    Jasmine Mary

  2. #2
    Senior Member
    Join Date
    May 2004
    Location
    Pakistan
    Posts
    253

    Re:

    Dear jasminemary,
    Hello,

    You can make Shell Script and put it in /usr/bin !!
    Code:
    #!/bin/sh
    
    echo "Enter your Share name : ?"
    read name
    
    echo $name >> /etc/exports
    
    exportfs -r
    Best Regards.
    Frrkh hmd

Similar Threads

  1. Migrating X/Window Applications from Solaris to Linux
    By manwanirg in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 01-27-2007, 01:59 PM
  2. Migrating X/Window Applications from Solaris to Linux
    By manwanirg in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 11-17-2006, 12:11 PM
  3. dual boot in linux and solaris
    By pansarevaibhav in forum Linux - General Topics
    Replies: 0
    Last Post: 10-01-2005, 07:25 AM
  4. Porting Device driver from Solaris to Linux
    By jvs in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 05-28-2002, 02:19 PM
  5. MOVED: Porting Device driver from Solaris to Linux
    By JimH in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 05-28-2002, 02:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •