On Sat, Jan 15, 2011 at 08:10:46PM +0100, Michal Hajek wrote:
> Hi,
>
> I have mounted wmii dir using 9p on gentoo machine, so mount shows:
>
> /tmp/ns.michal.:0/wmii on /mnt/wmii type 9p (rw,trans=unix,uname=root,noextend,dfltgid=0,dfltuid=0)
>
> and I can see the mount:
> # ls -la /mnt/wmii
> total 2
> dr-x------ 1 root root 0 Jan 15 20:04 client
> -rw------- 1 root root 48 Jan 15 20:04 colrules
> -rw------- 1 root root 0 Jan 15 20:04 ctl
> -rw------- 1 root root 0 Jan 15 20:04 event
> -rw------- 1 root root 441 Jan 15 20:04 keys
> drwx------ 1 root root 0 Jan 15 20:04 lbar
> drwx------ 1 root root 0 Jan 15 20:04 rbar
> dr-x------ 1 root root 0 Jan 15 20:04 tag
> -rw------- 1 root root 19 Jan 15 20:04 tagrules
>
> or # cat /mnt/wmii/ctl
> bar on bottom
> border 1
> colmode stack
> focuscolors #000000 #81654f #000000
> font -*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*
> fontpad 0 0 0 0
> grabmod Mod1
> incmode squeeze
> normcolors #000000 #c1c48b #81654f
> view 3
>
> However, when I want to write to ctl to change something, I cannot.
>
> For example if I do # cat test > /mnt/wmii/ctl bash: /mnt/wmii/ctl:
> Unknown error 526
>
> And dmesg shows: p9_errstr2errno: server reported unknown error function
> not implemented
>
> So how I am supposed to work with 9p mounts? Did I do something wrong?
Use >> rather than >. The virtual files don't support
truncation, which > tries to do.
-- Kris Maglione I have always found that plans are useless, but planning is indispensable. --Dwight EisenhowerReceived on Sat Jan 15 2011 - 20:46:40 CET
This archive was generated by hypermail 2.2.0 : Sat Jan 15 2011 - 20:48:02 CET