abbbi / abbbi/nullfsvfs

[Usecase] Keep Chrome from needlessly chewing up GBs of worthless cache files

オープン
#3 コメント 2 件 リアクション 4 件 担当者 0 名 GitHub で見る
Usecase
主要言語
C
スター
319
フォーク
12
PR マージ指標
30日以内にマージされた PR はありません

説明

## HowTo

sudo modprobe nullfs
sudo mkdir -p /media/sinkhole
sudo mount -t nullfs none /media/sinkhole
rm -rvf ~/.cache/{chromium,google-chrome}/Default/Cache
ln -s /media/sinkhole ~/.cache/chromium/Default/Cache
ln -s /media/sinkhole ~/.cache/google-chrome/Cache

## Before

$ du -h ~/.cache/chromium/Default/Cache/;
747M /home/tsmith/.cache/chromium/Default/Cache/
458M /home/tsmith/.cache/google-chrome/Default/Cache/
1.2G total

## After

0 /home/tsmith/.cache/chromium/Default/Cache/
0 /home/tsmith/.cache/google-chrome/Default/Cache/
0 total

It also will save on SSD wear-and-tear, and you won't even notice a performance drag as everything's stored in memory anyway.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。