03-17-2011
Thanks zxmaus,
NFS is designed to allow both the server and client to update remote file systems and retrieve their updated contents on the fly. I've just signed up, so can't post links, but googling RFC 1813 will allow you to confirm the protocol specification on faqs.org. The paragraph I'm looking at says:
"Procedure READDIR retrieves a variable number of entries, in sequence, from a directory and returns the name and file identifier for each, with information to allow the client to request additional directory entries in a subsequent READDIR request"
I believe that should allow me to list the contents of a directory if it's changed by the server. This is the way that I've always experienced NFS working in the past.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I can't seem to list all the files that begin with a lower case or upper case letter between a-m while being in that directory?
Please help I've tried everything from all the ls commands to even grep commands.
b (5 Replies)
Discussion started by: Astudent
5 Replies
2. UNIX for Dummies Questions & Answers
Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies
3. Programming
Hi,
From a Unix book, i'd found that the way to list files in a directory.
But those file info are all not shown, wat is shown is only the file name.
Can anyone pls teach me how to show the file details?
(etc file size, read/write permission, modified date)
my code:
Dir *dirp;
struct... (3 Replies)
Discussion started by: AkumaTay
3 Replies
4. Shell Programming and Scripting
Hello.
If i use ls to list file, the output will be like this:
ls list*
list1.txt list2.txt list3.txt list4.txt list5.txt
How can I list file like below (I tried to us ls -ltr list*.txt, but all of them with time, date in font of the file...but I don't need it)?
list1.txt... (3 Replies)
Discussion started by: happyv
3 Replies
5. Solaris
Hi experts,
I have several hundred files for everyday each month (below example is September)-
PP023149200709010546.......PP028023200709012300
PP023150200709020023.......PP026096200709022134
..
..
PP021256200709201920.......PP025576200709202218
..
..... (3 Replies)
Discussion started by: thepurple
3 Replies
6. Solaris
:confused:Hi all
When i see in the /var/adm/messages, i saw the following error
unix: NFS write error on host : Stale NFS file handle.
unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49)
It is using sunOS 5.7. Is anybody know what is this error?
Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies
7. Shell Programming and Scripting
Hi,
I am trying to get a file name only. Could anyone help me on the same.
Meaning I have a file say list.out which holds below output
./xyz/abc.txt
./xyz/hij.txt
I want an output as below
abc.txt
hij.txt
i.e I want to delete everything before abc.txt
Please help me out if any one has... (4 Replies)
Discussion started by: spark
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Could you please help to resolve my following issues:
Problem Description:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies
9. UNIX for Advanced & Expert Users
I have the three following files available in the directory. But the job should be able to read only the first two files. Could any one help me in writing command to list only the first two files and omit the last file. I used ls -1 LSM_REP* > final.lst. It is copying all the three files. But I... (5 Replies)
Discussion started by: Ram Nukavarapu
5 Replies
10. Solaris
Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400)
Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies
LEARN ABOUT CENTOS
tapset::nfs
tapset::nfs(3stap) tapset::nfs(3stap)
NAME
tapset::nfs - systemtap nfs tapset
DESCRIPTION
nfs.fop.llseek
NFS client llseek operation
See probe::nfs.fop.llseek(3stap)
for details.
nfs.fop.read
NFS client read operation
See probe::nfs.fop.read(3stap)
for details.
nfs.fop.write
NFS client write operation
See probe::nfs.fop.write(3stap)
for details.
nfs.fop.aio_read
NFS client aio_read file operation
See probe::nfs.fop.aio_read(3stap)
for details.
nfs.fop.aio_write
NFS client aio_write file operation
See probe::nfs.fop.aio_write(3stap)
for details.
nfs.fop.mmap
NFS client mmap operation
See probe::nfs.fop.mmap(3stap)
for details.
nfs.fop.open
NFS client file open operation
See probe::nfs.fop.open(3stap)
for details.
nfs.fop.flush
NFS client flush file operation
See probe::nfs.fop.flush(3stap)
for details.
nfs.fop.release
NFS client release page operation
See probe::nfs.fop.release(3stap)
for details.
nfs.fop.fsync
NFS client fsync operation
See probe::nfs.fop.fsync(3stap)
for details.
nfs.fop.lock
NFS client file lock operation
See probe::nfs.fop.lock(3stap)
for details.
nfs.fop.sendfile
NFS client send file operation
See probe::nfs.fop.sendfile(3stap)
for details.
nfs.fop.check_flags
NFS client checking flag operation
See probe::nfs.fop.check_flags(3stap)
for details.
nfs.aop.readpage
NFS client synchronously reading a page
See probe::nfs.aop.readpage(3stap)
for details.
nfs.aop.readpages
NFS client reading multiple pages
See probe::nfs.aop.readpages(3stap)
for details.
nfs.aop.set_page_dirty
NFS client marking page as dirty
See probe::nfs.aop.set_page_dirty(3stap)
for details.
nfs.aop.writepage
NFS client writing a mapped page to the NFS server
See probe::nfs.aop.writepage(3stap)
for details.
nfs.aop.writepages
NFS client writing several dirty pages to the NFS server
See probe::nfs.aop.writepages(3stap)
for details.
nfs.aop.write_begin
NFS client begin to write data
See probe::nfs.aop.write_begin(3stap)
for details.
nfs.aop.write_end
NFS client complete writing data
See probe::nfs.aop.write_end(3stap)
for details.
nfs.aop.release_page
NFS client releasing page
See probe::nfs.aop.release_page(3stap)
for details.
SEE ALSO
probe::nfs.fop.llseek(3stap), probe::nfs.fop.read(3stap), probe::nfs.fop.write(3stap), probe::nfs.fop.aio_read(3stap),
probe::nfs.fop.aio_write(3stap), probe::nfs.fop.mmap(3stap), probe::nfs.fop.open(3stap), probe::nfs.fop.flush(3stap),
probe::nfs.fop.release(3stap), probe::nfs.fop.fsync(3stap), probe::nfs.fop.lock(3stap), probe::nfs.fop.sendfile(3stap),
probe::nfs.fop.check_flags(3stap), probe::nfs.aop.readpage(3stap), probe::nfs.aop.readpages(3stap),
probe::nfs.aop.set_page_dirty(3stap), probe::nfs.aop.writepage(3stap), probe::nfs.aop.writepages(3stap),
probe::nfs.aop.write_begin(3stap), probe::nfs.aop.write_end(3stap), probe::nfs.aop.release_page(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::nfs(3stap)