Opened 15 years ago
Closed 14 years ago
#4661 closed bug (fixed)
NFS: subdirectories not directories /KDL on file touch.
Reported by: | kallisti5 | Owned by: | mmu_man |
---|---|---|---|
Priority: | high | Milestone: | R1 |
Component: | File Systems/NFS | Version: | R1/alpha1 |
Keywords: | Cc: | kallisti5, william.a.lawson@…, haiku@… | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Mount nfs share: mount_nfs 192.168.1.200:/frisky /chao NFS files are present as expected in /chao/ Trying to navigate to any directory in /chao/ turns up empty directory in tracker. Trying to navigate to any directory in /chao/ turns up "Not a directory"
Details below.
Attachments (2)
Change History (16)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
/chao> ls -la drwxrwxr-x 9 65534 65534 4096 Sep 27 17:56 . drwxrwxrwx 1 user root 0 Sep 27 17:59 .. drwxrwxrwx 2 65534 65534 4096 Sep 1 07:54 pictures /chao> cd pictures/ sh: cd: pictures/: Not a directory
comment:3 by , 15 years ago
hitting tab does list the files in the nfs sub directory: /chao> ls pictures/ DSC00080.JPG DSC00184.JPG DSC00197.JPG DSC00214.JPG
comment:4 by , 15 years ago
whoops... touching a file on the nfs mount dir causes a KDL.. bt screenshot follows. I saw #3500 but I don't think this is the same issue as the KDL does not occur until modifications are made to the nfs mount. also the touch took a few seconds (10?) before the kdl occured.
by , 15 years ago
Attachment: | kdl-nfs.png added |
---|
KDL after touching a file on the root of the NFS share.
comment:5 by , 15 years ago
Summary: | NFS: subdirectories not directories? → NFS: subdirectories not directories /KDL on file touch. |
---|
comment:6 by , 15 years ago
Cc: | added |
---|
comment:7 by , 15 years ago
Priority: | normal → high |
---|
comment:8 by , 15 years ago
bumping to high as it is standard OS functionality that causes a KDL on every platform and is not limited to one user or piece of hardware. (#5053 closed as duplicate)
comment:9 by , 15 years ago
Little more info, after un-mounting the NFS share, the icon remains on the desktop and cannot be removed. Double-clicking icon results in no window or action, restarting tracker resolves this issue and the NFS icon disappears.
comment:10 by , 15 years ago
OK, I fixed the subdirectory problem, and have attached a patch (nfs_subdir.patch).
The KDL is not fixed, that is next on my list.
I think there is a memory leak when vnodes are freed as well. I need to investigate that further.
Still, with the attached patch, the NFS filesystem driver should be OK if you want a read-only filesystem.
comment:11 by , 15 years ago
Cc: | added |
---|
comment:13 by , 14 years ago
whoo, can stream movies off of nfs shares now (including sub-directories). I call this one resolved. Any NFS bugs left can be opened in new tickets.
/chao> ls -la drwxrwxr-x 9 65534 65534 4096 Sep 27 17:56 . drwxrwxrwx 1 user root 0 Sep 27 17:59 .. drwxrwxrwx 2 65534 65534 4096 Sep 1 07:54 pictures
/chao> cd pictures/ sh: cd: pictures/: Not a directory