9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] passthrough device
@ 2025-01-12  0:44 Ron Minnich
  2025-01-12 16:35 ` [9fans] " rminnich
  0 siblings, 1 reply; 4+ messages in thread
From: Ron Minnich @ 2025-01-12  0:44 UTC (permalink / raw)
  To: 9fans

I'm writing a very simple device, #Y, whose only function is to pass
system calls through from a guest VM to a host. The pathnames are
unchanged.

It's basically working, save, as usual, I got confused by walk.

When I try to open '#Y", the first name in the walk is ... #Y. This
surprised me.

I don't want to use devwalk, because that seems made more for the case
of a mostly static tree, or a tree with limited depth (if I'm wrong
let me know).

So, I figure someone on this list, who knows this better than me,
might have  suggestion.

Thanks

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T465ce77c70ba04ed-Md7af3e9d7bd30fff29e5558a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [9fans] Re: passthrough device
  2025-01-12  0:44 [9fans] passthrough device Ron Minnich
@ 2025-01-12 16:35 ` rminnich
  2025-01-12 16:47   ` Don A. Bailey
  0 siblings, 1 reply; 4+ messages in thread
From: rminnich @ 2025-01-12 16:35 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

As usual, 30m after sending the note, I figured out what to do. 
Not to worry :-)
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T465ce77c70ba04ed-M5b4ee344a69195816914665d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Re: passthrough device
  2025-01-12 16:35 ` [9fans] " rminnich
@ 2025-01-12 16:47   ` Don A. Bailey
  2025-01-12 19:52     ` Ron Minnich
  0 siblings, 1 reply; 4+ messages in thread
From: Don A. Bailey @ 2025-01-12 16:47 UTC (permalink / raw)
  To: 9fans; +Cc: 9fans

[-- Attachment #1: Type: text/html, Size: 1211 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Re: passthrough device
  2025-01-12 16:47   ` Don A. Bailey
@ 2025-01-12 19:52     ` Ron Minnich
  0 siblings, 0 replies; 4+ messages in thread
From: Ron Minnich @ 2025-01-12 19:52 UTC (permalink / raw)
  To: 9fans

c->aux is what I went with. Long story, but for the clone channel of a
walk, I store the full path name there.

Planning to talk about and release this code for IWP9.


On Sun, Jan 12, 2025 at 8:48 AM Don A. Bailey <don.bailey@gmail.com> wrote:
>
> What was the solution?
>
> D
>
> On Jan 12, 2025, at 11:35 AM, rminnich@p9f.org wrote:
>
> 
> As usual, 30m after sending the note, I figured out what to do.
> Not to worry :-)
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T465ce77c70ba04ed-Me9557aa20f5e469143be8ac5
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-12 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-12  0:44 [9fans] passthrough device Ron Minnich
2025-01-12 16:35 ` [9fans] " rminnich
2025-01-12 16:47   ` Don A. Bailey
2025-01-12 19:52     ` Ron Minnich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).