Have root on vinum, one small problem..

2001-02-02 Thread Chris Williams
I've set up a server to load an MFS root off of a small slice at the beginning of my disks, and then start vinum and mount my real (vinumed) root slice over top of the MFS root. This allows me to boot off mirrored drives and not have my root go away if the drive I booted from dies. The only re

Strange fwrite() behavior in a+ mode

2001-01-04 Thread Chris Williams
If I run the following program, I get the following results: --- jello:/usr/home/chris/foo$ cat blah.c #include int main() { FILE *f = fopen("foo", "a+"); char x[50] = " "; char y[50] = " "; fseek(f, 0, SEEK_SET); printf("tell: %d\n", f