Blog: grammar fixes

This commit is contained in:
Akemi Izuko 2023-12-29 18:50:24 -07:00
parent b4bf3b6372
commit 6983118f0c
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC

View file

@ -42,10 +42,10 @@ crash. But the outcome is good atomic-committing in git.
I also put my Downloads folder in the RAM. For one thing, partial downloads from I also put my Downloads folder in the RAM. For one thing, partial downloads from
Chromium and Firefox don't matter, since neither can pick up where they left Chromium and Firefox don't matter, since neither can pick up where they left
off. This you'll have to restart an interrupted download even if you are using off. This means you'll have to restart an interrupted download even if you are
non-volatile storage. I've also found my Downloads folder gets really messy if I using non-volatile storage. I've also found my Downloads folder gets really
don't do this. Wiping it on reboot reminds me to move files into their proper messy if I don't do this. Wiping it on reboot reminds me to move files into
folders. their proper folders.
The following command will symlink your Downloads folder to the RAM disk. Most The following command will symlink your Downloads folder to the RAM disk. Most
programs will never notice the difference: programs will never notice the difference:
@ -60,10 +60,10 @@ ln -s /dev/shm/ ~/Downloads
### Shared Memory ### Shared Memory
If you're on Linux, you already have a RAM disk! The path `/dev/shm` is found on If you're on Linux, you already have a RAM disk! The path `/dev/shm` is found on
all Linux system. It stands for "shared memory" and is indented as a space for all Linux systems. It stands for "shared memory" and is intended as a space for
users and programs to "share" data. Very few programs and users actually do users and programs to share data. Very few programs or users actually do this,
this, but it means that directory is accessible for writing for all users but it means that directory is accessible for writing by all users including
including you. you.
To verify a directory is mounted on a RAM disk, use the following command: To verify a directory is mounted on a RAM disk, use the following command:
@ -73,8 +73,8 @@ df -h .
df -h /dev/shm df -h /dev/shm
``` ```
We care about what the `Filesystem` columns reports. It should be "tmpfs", We care about what the `Filesystem` columns reports. It should be `tmpfs`,
mains "temporary file system". For example mine looks like: meaning "temporary file system". For example mine looks like:
``` ```
Filesystem Size Used Avail Use% Mounted on Filesystem Size Used Avail Use% Mounted on
@ -100,7 +100,7 @@ sudo mount -t tmpfs -o uid=1000,size=1g tmpfs /home/emiliko/mnt
## Advanced Notes ## Advanced Notes
While in this article I implied all temporary file systems are RAM disks and While in this article I implied all temporary file systems are RAM disks and
vise versa, neither is technically true. It's possible to run `tmpfs` on vise versa, neither is technically true. It's possible to mount `tmpfs` on
non-volatile storage, and many servers choose to do this. Similarly, a RAM disk non-volatile storage, and many servers choose to do this. Similarly, a RAM disk
can be used for a normal file system, like btrfs. can be used for a normal file system, like btrfs.