Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dfstab(4) [opensolaris man page]

dfstab(4)							   File Formats 							 dfstab(4)

NAME
dfstab - file containing commands for sharing resources across a network DESCRIPTION
dfstab resides in directory /etc/dfs and contains commands for sharing resources across a network. dfstab gives a system administrator a uniform method of controlling the automatic sharing of local resources. Each line of the dfstab file consists of a share(1M) command. The dfstab file can be read by the shell to share all resources. System administrators can also prepare their own shell scripts to execute particular lines from dfstab. The contents of dfstab put into effect when the command shown below is run. See svcadm(1M). /usr/sbin/svcadm enable network/nfs/server SEE ALSO
share(1M), shareall(1M), sharemgr(1M), svcadm(1M) NOTES
Do not modify this file directly. This file is reconstructed and only maintained for backwards compatibility. Configuration lines could be lost. Use the sharemgr(1M) command for all share management. SunOS 5.11 15 Aug 2008 dfstab(4)

Check Out this Related Man Page

shareall(1M)						  System Administration Commands					      shareall(1M)

NAME
shareall, unshareall - share, unshare multiple resources SYNOPSIS
shareall [ -F FSType [ ,FSType...]] [-| file] unshareall [ -F FSType [ ,FSType...]] DESCRIPTION
When used with no arguments, shareall shares all resources from file, which contains a list of share command lines. If the operand is a hyphen (-), then the share command lines are obtained from the standard input. Otherwise, if neither a file nor a hyphen is specified, then the file /etc/dfs/dfstab is used as the default. Resources may be shared by specific file system types by specifying the file systems in a comma-separated list as an argument to -F. unshareall unshares all currently shared resources. Without a -F flag, it unshares resources for all distributed file system types. OPTIONS
-F FSType Specify file system type. Defaults to the first entry in /etc/dfs/fstypes. FILES
/etc/dfs/dfstab ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
share(1M), unshare(1M), attributes(5) SunOS 5.10 6 Nov 2000 shareall(1M)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Add lines into file

Hi, i have a file like: 00:00 8 00:01 2 00:04 5 00:07 10 . . . and i need to add the other minutes with value 0 and have a file like: 00:00 8 00:01 2 00:02 0 00:03 0 00:04 5 00:05 0 00:06 ... (13 Replies)
Discussion started by: Lestat
13 Replies

2. Shell Programming and Scripting

Get lines in 5 seconds

Hello everybody, how i can get how many lines are writed in a file in the last 5 seconds? For ezample i have 'file1' that is filled by a process automatically and i neet to know how many lines with the word 'EXACTO' were filled the last 5 seconds, can somebody help me? I try with: tail -f... (16 Replies)
Discussion started by: Lestat
16 Replies

3. Shell Programming and Scripting

How reverse cut or read rows of lines

Hi, My records are like this BSC403_JAIN03|3153_TropicalFarm_LIMJM1-3_97| BSC403_JAIN03|3410_PantaiAceh_PCEHM1_4_97| BSC406_BMIN02|1433_JomHebohTV3_COW7M1_11_97| I want to extract the value before _97| This command BSC_ID=`echo $DATA | cut -f5 -d"_"` gives me _97|, 4, 11 and by... (16 Replies)
Discussion started by: doer
16 Replies

4. Shell Programming and Scripting

How to execute the rest of the code after commenting multiple lines?

Hi, As I have seen in this forum how to comment multiple lines in the script, but it does not work properly for me. It is blocking the code but it does not execute the rest of the codes. This is my code #! /usr/bin/ksh month='date +"m%"' : << Comments Block if || then echo "inc =... (12 Replies)
Discussion started by: Yamini Thoppen
12 Replies

5. Shell Programming and Scripting

Change directory command (cd)

What's wrong with this script????? Please help!!! !#/bin/sh echo "please enter dir" read input cd $input I'm trying to make a simple script to change dir. But does not work. it stays at the same dir where i run the script. What did i do wrong?? (21 Replies)
Discussion started by: c00kie88
21 Replies

6. Shell Programming and Scripting

Need to print certain lines from a file

Hi ALL, I want to print lines from file using certain conditions for exmple: # The following commands will create a new control file and use it # to open the database. # The contents of online logs will be lost and all backups will # be invalidated. Use this only if online logs are... (25 Replies)
Discussion started by: jack00423
25 Replies

7. Shell Programming and Scripting

finding lines only between a certain string

Dear experts, Ive been trying to figure this out for a while, but i cant. Please help. I have a file, with approx 1 million lines. The contents are separated with "----------". Please see example below So my problem is, i need to find all texts that have the keyword "GAA", but i need... (14 Replies)
Discussion started by: aismann
14 Replies

8. Shell Programming and Scripting

Getting text into command line

I have an IP address in a text file and i want to use it to mount a network share. The command i will use is mount -t cifs //ipaddress/share /mnt/share -o username =hiro I just need to know how can get the IP address from the text file and into the command? Many thanks, Hiro. (10 Replies)
Discussion started by: hiro
10 Replies

9. Shell Programming and Scripting

Prepare command before executing

Hi, Couldnt find the right string" to search for a similar question..so dont know if this has been answered yet...problem is that I want to prepare a command with the requisite parameters passed as a string before executing it...eg: the ls command .. I can pass "-l", "-t" as parameters and... (12 Replies)
Discussion started by: harman_6
12 Replies

10. Shell Programming and Scripting

Read env variables from argument file

Hi, I have a generic shell script (runBatchJob.sh) to read files (batchJob) with commands in them and execute the commands by reading the batchJob file as below ./runBatchJob.sh batchJob batchJob file $BATCHDIR/execute_procedure.sh $DATADIR/collectData.sh $OTHER_ENV_VAR/doSomething.sh ... (10 Replies)
Discussion started by: bOngY
10 Replies

11. Shell Programming and Scripting

Alternative network messaging?

Hello people, which options do I have to send messages over a network from one station to another without using standard network messaging commands like write, talk und message? Thanks. (26 Replies)
Discussion started by: 123_abc
26 Replies

12. Shell Programming and Scripting

Please Help! Need to put the lines of a txt to one line

Hi all, I'm quite newbie in shell scripting but I found a problem what I cant solve. I have a .txt file which looks like this: /22/ /23/ /24/ and so on and I'd need to make it look like this: /22/|/23/|/24/|...and so on. these numbers are growing and has lines like this /2a/ as well.... (15 Replies)
Discussion started by: gergo235
15 Replies

13. Shell Programming and Scripting

Verifying Record Length

Hi all, We are going through a total migration from AIX-based server framework to Linux-based servers. When I am testing *.sh and *.awk in a lower environments, it abends at the same step everytime in verifying the record length of the first row of the source file. I know this source file... (11 Replies)
Discussion started by: SoloXX
11 Replies

14. Shell Programming and Scripting

Comparing two files

Hi I have two files -- abc and xyz contents of abc: K","lr1207i04","1207","B ","MTP2",60,60,0,0,960,960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 "","",0,0,0,0,0,0,0,1800,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 "","ls1101i00","1301","A ... (10 Replies)
Discussion started by: leghorn
10 Replies

15. Shell Programming and Scripting

Want to extract certain lines from big file

Hi All, I am trying to get some lines from a file i did it with while-do-loop. since the files are huge it is taking much time. now i want to make it faster. The requirement is the file will be having 1 million lines. The format is like below. ##transaction, , , ,blah, blah... (38 Replies)
Discussion started by: mad man
38 Replies