I am not getting much information on the new system call name_to_handle_at() and open_to_handle_at(). Can anyone help me out here.
Thanks
An Edit. I just have this
http://comments.gmane.org/gmane.linux.man/2158
These functions are useful for writing user space servers.
For example, when implementing the NFS protocol, which does not have the 'open' concept, or a file descriptor, but instead relies on a persistent file identifier, the name_to_handle_at function can be used to generate this persistent handle in a portable way.
It then gets sent to the client, which will return it back to the server at a later point. The server can then use open_to_handle_at to perform the operation.
One could ask how this is better than simply sending the full path name between client and server. A number of options:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With