summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2022-02-16 08:19:44 +0000
committerFreeArtMan <dos21h@gmail.com>2022-02-16 08:19:44 +0000
commitde34fd14487bc561a8b40be4d1edbf497c5e908d (patch)
treebf6f9fc29eb0a9bd593a8baa9afd9871bfe91d82
parent5c6adae24c8485fd882a10d76933bdba286882b1 (diff)
downloadmd-content-de34fd14487bc561a8b40be4d1edbf497c5e908d.tar.gz
md-content-de34fd14487bc561a8b40be4d1edbf497c5e908d.zip
Fixed Typos reporeted by Aleksejs
-rw-r--r--md/writeup/writing_linux_mount_utility.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/md/writeup/writing_linux_mount_utility.md b/md/writeup/writing_linux_mount_utility.md
index 05d3770..06d72f2 100644
--- a/md/writeup/writing_linux_mount_utility.md
+++ b/md/writeup/writing_linux_mount_utility.md
@@ -15,8 +15,8 @@ taken form arsv/minibase soure code.
## Syscalls
-To implement mount there is enought just with one syscall mount. Its quite simple use case with just
-passing param to syscall is enought. There is more time spent to figure out with params are supported
+To implement mount there is enough just with one syscall mount. Its quite simple use case with just
+passing param to syscall is enough. There is more time spent to figure out with params are supported
by each of filesystems.
```c
@@ -33,7 +33,7 @@ int smount(
}
```
-Comparison to mount utility is straigforward.
+Comparison to mount utility is straightforward.
#### mount arguments
| Param | Descriptio |
@@ -87,10 +87,10 @@ Mount flags that can be passed when mounting filesystems, those are taken from k
## Kernel implementation
-Lates linux kernel source code where mount syscal is define is
+Lates linux kernel source code where mount syscall is define is
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/namespace.c
-There is 2 definitions one for syscall and one for mount code
+There are 2 definitions one for syscall and one for mount code
```c
SYSCALL_DEFINE5(mount, char user *, dev_name, char user *, dir_name,
char user *, type, unsigned long, flags, void user *, data)
@@ -105,8 +105,8 @@ long do_mount(
## Filesystems
-There is allways a mistery where all parameters that are suppported by particular filesystem comes from.
-I spend some time to find all params that are supported for procfs,devtmps and tempfs.
+There is always a mystery where all parameters that are supported by particular filesystem comes from.
+I spend some time to find places where all params that are supported for procfs,devtmps and tempfs comes from.
### Procfs