9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "boyd, rounin" <boyd@insultant.net>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] ftpfs & fmtinstall woe
Date: Sun, 22 May 2005 03:19:10 +0200	[thread overview]
Message-ID: <009e01c55e6c$427acc30$08ef7d50@kilgore> (raw)

while ziphos and i were puzzling over why ftpfs spits the
dummy on newly mkdir'd directories we also found a
mssing %M fmtinstall, which acts curiously.

fmtinstall:

brahma% cat f.c
#include <u.h>
#include <libc.h>
#include <fcall.h>

main()
{
 Dir *d;

 if (fmtinstall('M', dirmodefmt) < 0)
  exits("fmtinstall");

 if ((d = dirstat(".")) == 0)
  exits("dirstat");

 print(". %M\n", *d);

 exits("");
}
brahma% 8c f.c && 8l f.8
brahma% ./8.out
. d---x--xr-x
brahma% ls -ld .
d-rwxr-xr-x M 289907 boyd boyd 0 May 21 21:03 src

--
MGRS 31U DQ 52572 12604




             reply	other threads:[~2005-05-22  1:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-22  1:19 boyd, rounin [this message]
2005-05-22  1:52 ` Russ Cox
2005-05-22  2:11   ` boyd, rounin
2005-05-22  2:48     ` Russ Cox
2005-05-22  2:57       ` boyd, rounin
2005-05-22  4:06         ` jmk
2005-05-22  4:15           ` boyd, rounin
2005-05-22  4:24             ` jmk
2005-05-22  4:36               ` boyd, rounin
2005-05-22  4:42                 ` jmk
2005-05-22  4:32             ` Russ Cox
2005-05-22  4:43               ` boyd, rounin
2005-05-22  4:57                 ` Russ Cox
2005-05-22  7:35                   ` Bruce Ellis
2005-05-22  7:38                     ` Skip Tavakkolian
2005-05-22  7:41                       ` Bruce Ellis
2005-05-22  7:45                         ` Skip Tavakkolian
2005-05-22  7:46                     ` Skip Tavakkolian
2005-05-22  7:50                       ` Bruce Ellis
2005-05-23  3:40                     ` Ronald G. Minnich
2005-05-22  7:51         ` Charles Forsyth
2005-05-22  7:56           ` Bruce Ellis
2005-05-25 13:41           ` rog
2005-05-25 16:14             ` Bruce Ellis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='009e01c55e6c$427acc30$08ef7d50@kilgore' \
    --to=boyd@insultant.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).