xv6-cs450/userfs.c

16 lines
200 B
C
Raw Normal View History

#include "user.h"
2006-07-10 18:27:15 +02:00
// file system tests
char buf[1024];
2006-07-29 00:33:07 +02:00
char *args[] = { "echo", "hello", "goodbye", 0 };
2006-07-10 18:27:15 +02:00
int
2006-07-17 03:25:22 +02:00
main(void)
2006-07-10 18:27:15 +02:00
{
2006-07-11 03:07:40 +02:00
puts("userfs running\n");
2006-07-10 18:27:15 +02:00
block();
2006-07-29 00:33:07 +02:00
exec("echo", args);
return 0;
2006-07-10 18:27:15 +02:00
}