9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9P2000 question
@ 2001-07-24 19:43 Fariborz 'Skip' Tavakkolian
  0 siblings, 0 replies; 16+ messages in thread
From: Fariborz 'Skip' Tavakkolian @ 2001-07-24 19:43 UTC (permalink / raw)
  To: 9fans

How are additional (ad-hoc or not currently accounted for) file attributes
added to the filesystem? In re-reading the stat/wstat description for 9P2000
there does not seem to be a provision for that. What I think would be useful
is to have additional attributes which may be filesystem specific and that
only certain application may care to know about, etc.



^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] 9P2000 question
@ 2001-07-24 20:17 rob pike
  2001-07-24 21:34 ` Dan Cross
  0 siblings, 1 reply; 16+ messages in thread
From: rob pike @ 2001-07-24 20:17 UTC (permalink / raw)
  To: 9fans

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

If it's just between you and the server, go for it.  The protocol will leave
them alone.

-rob


[-- Attachment #2: Type: message/rfc822, Size: 1729 bytes --]

From: "Fariborz 'Skip' Tavakkolian" <fst@real.com>
To: 9fans@cse.psu.edu
Subject: [9fans] 9P2000 question
Date: Tue, 24 Jul 2001 12:43:13 -0700
Message-ID: <3.0.5.32.20010724124313.013e2c60@mail.real.com>

How are additional (ad-hoc or not currently accounted for) file attributes
added to the filesystem? In re-reading the stat/wstat description for 9P2000
there does not seem to be a provision for that. What I think would be useful
is to have additional attributes which may be filesystem specific and that
only certain application may care to know about, etc.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] 9P2000 question
@ 2001-07-24 21:50 rob pike
  2001-07-24 22:34 ` Fariborz 'Skip' Tavakkolian
  2001-07-24 22:38 ` Dan Cross
  0 siblings, 2 replies; 16+ messages in thread
From: rob pike @ 2001-07-24 21:50 UTC (permalink / raw)
  To: 9fans

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

There are free bits in Qid.type.

-rob


[-- Attachment #2: Type: message/rfc822, Size: 1951 bytes --]

From: Dan Cross <cross@math.psu.edu>
To: 9fans@cse.psu.edu
Cc: 
Subject: Re: [9fans] 9P2000 question
Date: Tue, 24 Jul 2001 17:34:25 -0400 (EDT)
Message-ID: <200107242134.RAA08085@augusta.math.psu.edu>

In article <20010724201759.073F8199F3@mail.cse.psu.edu> you write:
>If it's just between you and the server, go for it.  The protocol will leave
>them alone.

I think he was refering to the stat[n] field in an Rstat message not
having a place to put non-standard stuff.  I suppose he could just tack
a few bytes onto the end, beyond the muid[n] field, and the protocol
wouldn't care.  The ``normal'' libraries might.

	- Dan C.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] 9P2000 question
@ 2001-07-24 23:53 rob pike
  0 siblings, 0 replies; 16+ messages in thread
From: rob pike @ 2001-07-24 23:53 UTC (permalink / raw)
  To: 9fans

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

Make a file system that presents an index/annotation file for each
regular file. Doug McIlroy proposed this many years ago, but as far
as I know it's never been implemented.

-rob


[-- Attachment #2: Type: message/rfc822, Size: 1604 bytes --]

From: "Fariborz 'Skip' Tavakkolian" <fst@real.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] 9P2000 question
Date: Tue, 24 Jul 2001 15:34:30 -0700
Message-ID: <3.0.5.32.20010724153430.013e2c60@mail.real.com>

>There are free bits in Qid.type.

Certainly Rstat.stat.qid.type does help, but what would one do with things
like title/author/copyright information in a non-hacked way?

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] 9P2000 question
@ 2001-07-26  3:14 David Gordon Hogan
  2001-07-26 18:28 ` Dan Cross
  0 siblings, 1 reply; 16+ messages in thread
From: David Gordon Hogan @ 2001-07-26  3:14 UTC (permalink / raw)
  To: 9fans

> I know....  We need to change 9P2000 to use ASN.1 and run on top
> of the OSI protocols.  Then we can have an extensible status message!

Wash your mouth out!

Anyway, I though everyone was using XML and CORBA (or DCOM) these days :-)


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] 9P2000 question
@ 2001-07-26 13:06 presotto
  2001-07-26 17:55 ` Fariborz 'Skip' Tavakkolian
  2001-07-26 18:29 ` Dan Cross
  0 siblings, 2 replies; 16+ messages in thread
From: presotto @ 2001-07-26 13:06 UTC (permalink / raw)
  To: 9fans

I implemented a version of 9P2000 that represents messages in XML and
uses SOAP to marshal.  Unfortunately it was all done on a cocktail napkin
and I ran out of space after the nop message.


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

end of thread, other threads:[~2001-07-26 18:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-24 19:43 [9fans] 9P2000 question Fariborz 'Skip' Tavakkolian
2001-07-24 20:17 rob pike
2001-07-24 21:34 ` Dan Cross
2001-07-24 21:50 rob pike
2001-07-24 22:34 ` Fariborz 'Skip' Tavakkolian
2001-07-24 22:43   ` William K. Josephson
2001-07-24 23:14     ` Fariborz 'Skip' Tavakkolian
2001-07-25  2:39       ` William K. Josephson
2001-07-25 15:51     ` Dan Cross
2001-07-24 22:38 ` Dan Cross
2001-07-24 23:53 rob pike
2001-07-26  3:14 David Gordon Hogan
2001-07-26 18:28 ` Dan Cross
2001-07-26 13:06 presotto
2001-07-26 17:55 ` Fariborz 'Skip' Tavakkolian
2001-07-26 18:29 ` Dan Cross

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