Sujet : Re: "undefined behavior"?
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 14. Jun 2024, 19:31:29
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4i2a0$30goi$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla Thunderbird
On 14/06/2024 19:06, Malcolm McLean wrote:
Baby X FS - the filing system - code that allows you to create a virtual drive on your computer and access files from it using special fopen(), fclose() functions, but standard library functions like fprintf() or fgetc() for the other operations
I think people don't get is why they should use this filing system, when they already have a perfectly good one within their OS on which fopen() etc already work.
When you do fclose() after writing a file, will get it written to some persistent media?
Because either it says in memory (dangerous if your machine crashes, or someone just turns it off), or it gets written to the same SSD/SD/HDD media that the real OS uses. In which case, what is the point?
I gather this is not any of kind of OS with its own drivers for the peripherals on the machine, that takes over the real OS, or runs as some kind of virtual machine.