Check the file system status of the current directory and compare with the / directory
A local disk is usually /dev/something and root has full control.
An NFS disk is server:/exportpath and access is mainly controlled on server.
Last edited by MadeInGermany; 04-25-2013 at 03:44 AM..
Hi All ,
I have a file which gets updated by a korn job daily . The file gets the latest timestamp on everyrun.
But of late i have observed that the file timestamp gets modified to a older date ( Oct 25 2006 ) at some point in time of the day. This change has nothing to do with the job which... (2 Replies)
Hi people
Can u help me aorund on this
cat $DISTRIBUTION_LIST | tail -1 | read mailtolist
test -s $INOVOICES.dat
if
then
echo " Sales Report generted" | read subject
mailx -ms "${subject}." $mailtolist
RET_CODE=$?
if ; then
echo "Messaging Failed." >> $LOG_FILE
exit 1
fi
else... (2 Replies)
if
then
echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"
exit
fi
if --------------what does this mean???
echo "Syntax: $0 <sid> <COLD/HOT> <DEST>"---pls explain this as well (2 Replies)
hi all i have an example i want one help me to understand cause i tried to test it but almost fail and i don't know how can i solve this problem " the main idea to read from two files and replace something from one to another " but i don't understand why it fail all time
$ cat main.txt... (4 Replies)
1. The problem statement, all variables and given/known data:
I have a retake assignment to complete for my computer networks and OS class. This isn't really my area, had I known last year I could have swapped it for a different module I would have done so. I'm determined to get through it... (6 Replies)
cur_fy=`grep "CONSOL" $GLDATA/parms/cur_fiscalyear.lis | awk '{print $2}'
Here i don't understand "CONSOL" and awk'{print$2)
Please help me out
cur_fiscalyear.lis contents :
DL 2011
MOL 2011
MV 2011
SF 2010
CONSOL 2011
MVU 2011 (3 Replies)
Dear unix team
i'm user for a system build on unix system ,so we need to run a lot of scripts not in one sission but every script on the associated terminal , so the script name = the name of the terminal which will run this script on it . and someone create a batch that make as below :
1- but... (4 Replies)
I'm trying to follow a script and I see it begins with this:
if ; then
if ; then
print "blah $0 blah blah "
exit
fi
fi
What does $# mean? I found out that $1 refers to the shell environment and the last argument that was entered or passed in the previous command. I couldn't find $#... (2 Replies)
Hi,
I have old SCO O/S. System keeps crashing. I made lot of changes to kernel but so for nothing helped. I wrote a script which takes netstat -an output every one minute. I saw some thing right before the system crashed. Not sure if this means anything..
uname -a
SCO_SV djx2 3.2... (2 Replies)
Discussion started by: samnyc
2 Replies
LEARN ABOUT PLAN9
kfs
KFS(4) Kernel Interfaces Manual KFS(4)NAME
kfs - disk file system
SYNOPSIS
disk/kfs [ -rc ] [ -b n ] [ -f file ] [ -n name ] [ -s ]
DESCRIPTION
Kfs is a local user-level file server for a Plan 9 terminal with a disk. It maintains a hierarchical Plan 9 file system on the disk and
offers 9P (see intro(5)) access to it. Kfs begins by checking the file system for consistency, rebuilding the free list, and placing a
file descriptor in /srv/name, where name is the service name (default kfs). If the file system is inconsistent, the user is asked for per-
mission to ream (q.v.) the disk. The file system is not checked if it is reamed.
The options are
b n If the file system is reamed, use n byte blocks. Larger blocks make the file system faster and less space efficient. 1024 and 4096
are good choices. N must be a multiple of 512.
c Do not check the file system.
f file Use file as the disk. The default is /dev/sd0fs.
n name Use kfs.name as the name of the service.
r Ream the file system, erasing all of the old data and adding all blocks to the free list.
s Post file descriptor zero in /srv/service and read and write protocol messages on file descriptor one.
EXAMPLES
Create a file system with service name kfs.local and mount it on /n/kfs.
% kfs -rb4096 -nlocal
% mount -c /srv/kfs.local /n/kfs
FILES
/dev/sd0fs
Default file holding blocks.
SOURCE
/sys/src/cmd/disk/kfs
SEE ALSO kfscmd(8), mkfs(8), prep(8), wren(3)KFS(4)