Skip to content

VFS handle custom ioctl? #102

Answered by kofemann
tdgvrr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

First of all thanks for looking at nfs4j.

The nfs protocol doesn't describe any possibilities for a client to send a command that is not defined by the standard.

Actually, in dCache indeed we need a similar functionality and have implemented it as magic files, something like :

touch .(<command>)(<file>) 

There are of course some issues with this.

  • it is limited by max file name (255)
  • hard to get clients cache to play with invisible files

However, a similar solution can be adopted for your needs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tdgvrr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants