Ingo Krabbe
2013-08-28 09:13:43 UTC
Hey,
I found a quite strange effect with cifs (plan9 bell labs edition). I use cifs to mount werc installations from p9p linux servers. Cifs is needed here, as the virtual hosted machine does not support nfs. Maybe I should switch to another userspace filesystem, but for now its cifs.
Any node named `aux` is translated into `AHY9U3~9`, of course one-way only, such that I cannot use the `AHY9U3~9` node in my plan9 mount.
Renaming to aux2 for example, solves the problem.
I found this when looking at werc/bin/aux, which is a directory.
So I tried this in werc/tpl:
term% ed aux
?aux
i
This is a test
.
wq
15
term% ls -l
--rw-rw-rw- M 166 bill trog 15 Aug 24 11:29 AHY9U3~9
--rw-rw-rw- M 166 bill trog 683 Mar 29 10:03 _debug.tpl
d-rwxrwxrwx M 166 bill trog 0 Mar 29 10:03 _users
--rw-rw-rw- M 166 bill trog 1919 Mar 29 10:03 sitemap.tpl
Maybe I will hunt this further down next weeks...
... Ah I just found out, that ls 'aux' does actually work.
Any hints for debugging this might help.
cheers
ingo krabbe
I found a quite strange effect with cifs (plan9 bell labs edition). I use cifs to mount werc installations from p9p linux servers. Cifs is needed here, as the virtual hosted machine does not support nfs. Maybe I should switch to another userspace filesystem, but for now its cifs.
Any node named `aux` is translated into `AHY9U3~9`, of course one-way only, such that I cannot use the `AHY9U3~9` node in my plan9 mount.
Renaming to aux2 for example, solves the problem.
I found this when looking at werc/bin/aux, which is a directory.
So I tried this in werc/tpl:
term% ed aux
?aux
i
This is a test
.
wq
15
term% ls -l
--rw-rw-rw- M 166 bill trog 15 Aug 24 11:29 AHY9U3~9
--rw-rw-rw- M 166 bill trog 683 Mar 29 10:03 _debug.tpl
d-rwxrwxrwx M 166 bill trog 0 Mar 29 10:03 _users
--rw-rw-rw- M 166 bill trog 1919 Mar 29 10:03 sitemap.tpl
Maybe I will hunt this further down next weeks...
... Ah I just found out, that ls 'aux' does actually work.
Any hints for debugging this might help.
cheers
ingo krabbe