Blog: grammar fixes
This commit is contained in:
parent
b4bf3b6372
commit
6983118f0c
|
@ -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
|
||||
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
|
||||
non-volatile storage. I've also found my Downloads folder gets really messy if I
|
||||
don't do this. Wiping it on reboot reminds me to move files into their proper
|
||||
folders.
|
||||
off. This means you'll have to restart an interrupted download even if you are
|
||||
using non-volatile storage. I've also found my Downloads folder gets really
|
||||
messy if I don't do this. Wiping it on reboot reminds me to move files into
|
||||
their proper folders.
|
||||
|
||||
The following command will symlink your Downloads folder to the RAM disk. Most
|
||||
programs will never notice the difference:
|
||||
|
@ -60,10 +60,10 @@ ln -s /dev/shm/ ~/Downloads
|
|||
### Shared Memory
|
||||
|
||||
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
|
||||
users and programs to "share" data. Very few programs and users actually do
|
||||
this, but it means that directory is accessible for writing for all users
|
||||
including you.
|
||||
all Linux systems. It stands for "shared memory" and is intended as a space for
|
||||
users and programs to share data. Very few programs or users actually do this,
|
||||
but it means that directory is accessible for writing by all users including
|
||||
you.
|
||||
|
||||
To verify a directory is mounted on a RAM disk, use the following command:
|
||||
|
||||
|
@ -73,8 +73,8 @@ df -h .
|
|||
df -h /dev/shm
|
||||
```
|
||||
|
||||
We care about what the `Filesystem` columns reports. It should be "tmpfs",
|
||||
mains "temporary file system". For example mine looks like:
|
||||
We care about what the `Filesystem` columns reports. It should be `tmpfs`,
|
||||
meaning "temporary file system". For example mine looks like:
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
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
|
||||
can be used for a normal file system, like btrfs.
|
||||
|
||||
|
|
Loading…
Reference in a new issue