9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] unique identity to virtual files
@ 2008-01-15 13:09 Steve Simon
  2008-01-15 13:20 ` erik quanstrom
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Steve Simon @ 2008-01-15 13:09 UTC (permalink / raw)
  To: 9fans

The subject probably doesn't explain at all well.

I have a program (A) I have written, it can optionally run atop of a
a synthetic filesystem (B) which expands some files into directories
of files.

The A needs to be able to tell the difference between a
'real' directory and one generated by B.

I could use the muid and uid and gid as magic strings, alternatively I
could use the dev or/and type fields from stat.

Anyone have any strong feelings on the ``right'' way to do this?

-Steve


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

end of thread, other threads:[~2008-01-15 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-15 13:09 [9fans] unique identity to virtual files Steve Simon
2008-01-15 13:20 ` erik quanstrom
2008-01-15 14:35 ` Russ Cox
2008-01-15 15:55   ` roger peppe
2008-01-15 16:29 ` Gary Wright
2008-01-15 17:21   ` Charles Forsyth

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).