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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)