From bb787ef2afde2de97a3fa5d4ee6d53bf9bb17efb Mon Sep 17 00:00:00 2001 From: tactonbishop Date: Mon, 6 Jun 2022 19:30:04 +0100 Subject: [PATCH] Last Sync: 2022-06-06 19:30:04 --- Operating_Systems/Devices.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Operating_Systems/Devices.md b/Operating_Systems/Devices.md index 0fef9f1..d2da47e 100644 --- a/Operating_Systems/Devices.md +++ b/Operating_Systems/Devices.md @@ -32,9 +32,9 @@ brw-rw---- 1 root disk 259, 3 Jun 4 11:00 nvme0n1p3 The [mode](../Programming_Languages/Shell_Scripting/File_permissions_and_execution.md#what-the-output-means) is different from ordinary files. Each device file is prepended with `b, p, c, s` before the standard permissions. These stand for the major types of devices: _block, character, pipe_ and _socket_.
block
-
These devices transfer data as large fixed-size blocks. These are the most common device type and include harddrives and filesystems. As the data can be split up into discrete blocks of data, this facilitates quick random access from the kernel.
+
Block devices transfer data as large fixed-size blocks. These are the most common device type and include harddrives and filesystems. As the data can be split up into discrete blocks of data, this facilitates quick random access from the kernel.
character
-
These devices transfer data one character at a time.The data is not in discrete chunks, it is a continuous stream of characters. And example of a stream device file is a printer however many character devices (such as `/dev/null`) are not physically connected to the machine.
+
Character devices transfer data one character at a time.The data is not in discrete chunks, it is a continuous stream of characters. An example of a stream device file is a printer however many character devices (such as `/dev/null`) are not physically connected to the machine.
pipe
socket