Skip to content

Sinks, files and locks

The material of this page is now in the chapters of "Writing". Each section below names where it went.

Writing to files

Files and syncing lists the calls that open a writer on a path.

One writer per file

Files and syncing explains the lock.

Who holds the lock

Files and syncing says who holds the lock, and Locks gives the rules per system.

Read-only file systems

Files and syncing covers files on a read-only mount.

One lock per file

Locks covers links, devices and network file systems.

Errors name the step and the file

Files and syncing shows what an error states.

Writing to memory

Live feeds and relays covers a sink in memory, and Pieces and chains removing pieces from a store in memory.

Without the standard library

Live feeds and relays explains a writer without the standard library.