[9fans] Re: Pipes staying after sending note

2023-07-08 Thread Anthony Martin
Philip Silva via 9fans <9fans@9fans.net> once said: > if ((cpid = fork()) != 0) { > close(infd[1]); > close(outfd[1]); > > n = write(infd[0], "test", 4); > printf("check process: wrote %d bytes\n", n); > > sendn

Re: [9fans] mounting a 9660 file system - writeable

2023-07-08 Thread Conor Williams
thanks Dave... will look into the overlay file system + kernel hack soun.. got the 9front booting off one 9660 drive now (50GB) and am mounting my second 20GB drive into /tmp/D (its a 9fat partition) and i have rebooted and the created D files are still there one strange thing that bogged me down

Re: [9fans] mounting a 9660 file system - writeable

2023-07-08 Thread Dave Eckhardt
9660srv's job is to serve the files stored on a CD-ROM. CD-ROMs are more or less read-only, so 9660srv serves the files as read-only as well. In most setups, the /tmp file system is "stored" in RAM. It's faster than sending the data to some storage device, and when you turn the machine off the f

[9fans] Pipes staying after sending note

2023-07-08 Thread Philip Silva via 9fans
Hello, I'm trying to understand how pipes work when terminating a forked process. It seems when sending kill to the forked process, connected pipes don't always break. At least a subsequent write might work. Is it possible to make it reliably fail anyway or is it necessary to close the file des

[9fans] mounting a 9660 file system - writeable

2023-07-08 Thread Conor Williams
hello there 9fans_ears... i create a file system pretty much simply on my vm by % *cat* 9frontXYZ.iso > /dev/sdC0/data and that works pretty well and boots a p9 vm from C but... I cannot create a dir (only in /tmp), so...I have tried: % *mkdir* /tmp/C % *9660srv* % *mount* -c /srv/9660 /tmp/C /dev/