NFS2 Patch
Project: | JNode Core |
Component: | Code |
Category: | feature request |
Priority: | normal |
Assigned: | Unassigned |
Status: | closed |
Jump to:
Hi
I've upload a new patch for NFS2 implementation.
* some refactor. Move the core classes of the nfs2 in net project
* changed the syntax of the nfsmount command. nfsmount directory host:remotedirectory
* the nfsmount command support auto complete . If you type nfsmount /a 192.168.2.108: and then TAB the system will show you all the exported directory on the host
* add protocol handler for nfs. I've tried with cp command and it works.
The syntax of the URL :
- nfs://host/remotePath - for read only. The remotePath is composed by exported directory and the path of the resource. For example if the /home/jnode it is exported directory ( in file /etc/export in linux) and we want to access file a.txt from /home/jnode directory the URL it is nfs://host/home/jnode/a.txt
- nfs://uid:gid@host/remotePath -for read write URL
The problem with this handler ( and i think it is the same situation for all handlers in the net project) it is that the plugin that contain the handler must be visible for URL class . This class it is in classpath plugin which is a system plugin . In the current code the protocols from the net it is not visible in classpath plugin . I will investigate this problem .
* improve a little the errors messaging . Unfortunately i can not improve all the errors messaging because some error come from host system like String. I will investigate this problem in the future.
Best regards
Andrei Dore
Attachment | Size |
---|---|
issues_102 | 129.43 KB |
- Login to post comments
#1
Hi
I think i made a wrong patch . It was some conflicts.
Can you try again with the new patch.
Best regards
Andrei Dore
#2
Hi
A new patch . I hope is good
Best regards
Andrei Dore
#3
Yes, this patch is good. Committed.
#4