diff options
Diffstat (limited to 'md/writeup')
| -rw-r--r-- | md/writeup/writing_linux_mount_utility.md | 14 | 
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  | 
