LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2009, 09:44 AM   #1
indifference
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Talking RMDIR Syscall and NFS


Hello,

I'm implementing a NFS v2 server, and I'm using the rmdir syscall to remove directories. The rmdir only removes empty directories.

When I need to remove a directory that is not empty, I just type "rm -rf testdir", and the client automatically calls the NFS functions to remove all the files on the directory first, and then it removes the directory itself.

But when I use Nautilus on Gnome, and try to delete a non empty directory, it fails, because the client only calls the NFS function to remove the directory, and not the files inside.

Can you tell me why this happens, and give me some sugestions ?

Thanks,

Pedro Saraiva
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Syscall problems RepSTOSW Linux - Kernel 3 03-21-2010 11:57 AM
i need help in understanding syscall tonyr81 Linux - Kernel 4 05-27-2008 05:18 PM
how to use kill syscall shifter Programming 19 05-28-2007 10:04 AM
syscall hook robertos Linux - Kernel 15 03-09-2007 07:33 PM
syscall hook robertos Programming 4 03-05-2007 11:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration