Deutsch   English   Français   Italiano  
<v4i2a0$30goi$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bart <bc@freeuk.com>
Newsgroups: comp.lang.c
Subject: Re: "undefined behavior"?
Date: Fri, 14 Jun 2024 19:31:29 +0100
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <v4i2a0$30goi$2@dont-email.me>
References: <666a095a$0$952$882e4bbb@reader.netnews.com>
 <8t3k6j5ikf5mvimvksv2t91gbt11ljdfgb@4ax.com>
 <666a18de$0$958$882e4bbb@reader.netnews.com>
 <87y1796bfn.fsf@nosuchdomain.example.com>
 <666a2a30$0$952$882e4bbb@reader.netnews.com>
 <87tthx65qu.fsf@nosuchdomain.example.com> <v4dtlt$23m6i$1@dont-email.me>
 <NoEaO.2646$J8n7.2264@fx12.iad> <v4fc5j$2cksu$1@dont-email.me>
 <v4ff97$2d8l1$1@dont-email.me> <87o784xusf.fsf@bsb.me.uk>
 <v4g7i3$2icc2$1@dont-email.me> <87ikybycj6.fsf@bsb.me.uk>
 <v4hk5v$2tttf$1@dont-email.me> <v4hnrb$2umh0$1@dont-email.me>
 <v4i0qb$3046l$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 14 Jun 2024 20:31:29 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3cbeaf55936e5f695a7fb47506a986f6";
	logging-data="3162898"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19/YsS2hFl7E7N7pV4Kl6sN"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:wivxvosW7ALhUrSvgxOPgNBmsAs=
Content-Language: en-GB
In-Reply-To: <v4i0qb$3046l$1@dont-email.me>
Bytes: 2464

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.