9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ftpfs & fmtinstall woe
@ 2005-05-22  1:19 boyd, rounin
  2005-05-22  1:52 ` Russ Cox
  0 siblings, 1 reply; 24+ messages in thread
From: boyd, rounin @ 2005-05-22  1:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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




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

end of thread, other threads:[~2005-05-25 16:14 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-22  1:19 [9fans] ftpfs & fmtinstall woe boyd, rounin
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

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