Skip to content

Dirk Mittler's Blog

A Journal of my Ongoing Experiences.

11°C
Wind: 9km/h E
Broken Clouds
Humidity: 66%
Montreal, according to OpenWeatherMap
Tue
13°C
Wed
10°C
Thu
11°C

Weather Widget by interconnect/it

During bad weather, this site can go down. If it does, please try again later.

This Is A Log File of the IP-Address inconsistencies, that followed from down-time, since March 20, 2019, Or, of the last 500 hours of known IP-Addresses.

Tags

  • Android
  • Apache
  • Computer Algebra
  • Custom-Compile
  • DCT
  • Debian
  • Debian 9
  • Debian Stretch
  • Desktop Compositing
  • Downtime
  • DSL Problem
  • Future Downtime
  • GPU
  • HBS-750
  • IPv6
  • Kanotix
  • KDE
  • Kernel Update
  • Linux
  • Linux Laptop
  • memcached
  • MOSFET
  • MP3 Compression
  • MySQL
  • NG-SPICE
  • OpenCL
  • OpenGL
  • Pixel C
  • Plasma 5
  • Power Failure
  • PulseAudio
  • Quantum Mechanics
  • Reboot
  • RTL8723BE
  • Samba
  • Sound Compression
  • Source Code
  • Successful Update
  • System Update
  • Unattended Upgrades
  • Update
  • WiFi Disconnects
  • WiFi Problem
  • WordPress
  • X-Server

Most Directly-Viewed, Individual Posts

  • One reason Why, It is Difficult For Me to Guess, at the Variable-Length Encoding of numbers, Chosen By Other People (8,176)
  • My Experiences with the Bell Home Hub 3000 (5,922)
  • Testing the Focusrite Scarlett 2i2 external sound device, with my Samsung S6 Smart-Phone (5,889)
  • I can offer a sound-compression scheme that I know will not work, as a point of reference. (5,475)
  • How DynDNS Works (2,960)
  • I now have Linux installed on my Samsung Galaxy Tab S. (2,825)
  • Getting Pulseaudio to schedule real-time threads under Debian / Stretch and beyond. (2,628)
(Hit Counters Installed March 5, 2016)

Recent Posts:

  • Creating a C++ Hash-Table quickly, that has a QString as its Key-Type.
  • How to know, whether our Qt 5 C++ projects make use of dynamically-loaded plug-ins.
  • Managing Usershares properly, under SAMBA (meaning, under the SMB emulation given by Linux).
  • How an old problem with multiple (Debian / Linux) sessions seems to require an old fix.
  • Why C++ compilers use name-mangling.
  • An Ode to Cinepaint
  • What the name of the memory allocator is, under C++.

Recent Comments

  • Dirk Mittler on File-Sharing under Linux, using Usershares – the Modernistic Way.
  • Ted Newell on File-Sharing under Linux, using Usershares – the Modernistic Way.
  • How to know, whether our Qt 5 C++ projects make use of dynamically-loaded plug-ins. | Dirk Mittler's Blog on It’s perfectly possible to run AppImages from within Crostini.
  • bitbinge on I have just had to get my hands dirty, with apt-listbugs.

Archives

Categories

Pages

  • A Repository Of WebGL Creations
  • A summary of my Site
  • About the Dates / Modification Time-Stamps
  • About The Translations – And The Missing Pieces Of Text
  • Binaries – Executable
  • Communication Through Entanglement?
  • Permalinks
  • Posting Comments
  • Sample Artwork Made With FOSS
  • Some Nastiness that had taken place, with my Blocks Of Code
  • Submit Feedback
  • The Most Directly-Viewed, Individual Posts
  • The Superfluid Fountain
  • Viewing The Equations On My Site

Feedback Form:

Open Feedback Form

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Tag: Write-Locking

Why a Non-Mounting File System is Unlikely

In This Posting, I shared a loose thought, on whether it was at all possible, that unlike how it works under Linux, under Windows or OS/X the file system might not require mounting or unmounting.

Here is The problem with that thought. On any multi-tasking O/S, there can be many user-space processes, all of which are opening and closing files, for writing as well as reading. The only way in which this will not corrupt the FS, is when all these requests take place though the kernel. The kernel makes sure, that the FS stays consistent while this is happening.

Trying to allow multiple user-processes to do this, but not with any sort of discipline, would be a little like attempting to repair an already-corrupted File System, while it is in use – i.e. while it is mounted. Doing so is certain to mess it up completely.

The only case in which such a thing can exist, is in single-tasking environments.

Also, there is a good example of an O/S, which mounts and unmounts, in the background, without telling the user: Android. This is an O/S which is based on the Linux kernel, and which therefore inherits what the Linux kernel does. One of those tasks, is to mount and unmount any FS.

Dirk

Note Added Same Day:

We recognize that under Windows, one process is allowed to write-lock a file, so that other processes cannot write to it. This also exists under Linux. It is meant to allow processes to synchronize the actual content-data of the file. But this is a separate issue, from the File-System Meta-Data.

The same way, two processes can each write-lock one file, and each write changes to the data of their file. Both of these processes are then writing changes to the same File System. And both of them are changing the meta-data of the file system, that needs to remain consistent.

Also, the listings of the Directories, which under Windows are just referred to as Folders, do not contain that meta-data…

 

Posted on October 25, 2016October 25, 2016Tags Android, FS Corruption, Linux Kernel, Meta-Data, Mounting, Multi-Tasking, Unmounting, Write-LockingLeave a comment on Why a Non-Mounting File System is Unlikely
Proudly powered by WordPress