Skip to content

Commit f420591

Browse files
authored
Merge pull request #768 from rust-lang/docs-dev-desktops-document-available-disk-space
docs(dev-desktops): document available disk space
2 parents f0dd31f + 130ee3f commit f420591

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/infra/docs/dev-desktop.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,16 @@ It helps to check <https://packages.ubuntu.com/> first and make sure that the
186186
package is available for both `arm64` and `amd64` architectures. The dev
187187
desktops are currently running Ubuntu 22.04 LTS.
188188

189+
## Available disk space
190+
191+
Every user has a quota of how much disk space they can use.
192+
Currently, the quota is set to
193+
[150GB](https://github.com/rust-lang/simpleinfra/blob/8a59e4faeb75a09b072671c74a7cb70160ebef50/ansible/roles/dev-desktop/defaults/main.yml#L7).
194+
195+
Exceeding the quota will result in the error `Disk quota exceeded (os error 122)`.
196+
197+
The [remarks on disk space] section of the rustc dev guide contains some tips on how to clean your disk space.
198+
189199
## How to give feedback and report issues
190200

191201
If you experience any problems with the dev desktops, or have feedback and
@@ -202,6 +212,7 @@ We might ask you to create an issue in the [rust-lang/simpleinfra] repository.
202212
[rust foundation]: https://foundation.rust-lang.org/
203213
[rust-lang/rust]: https://github.com/rust-lang/rust
204214
[rust-lang/simpleinfra]: https://github.com/rust-lang/simpleinfra
215+
[remarks on disk space]: https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html#remarks-on-disk-space
205216
[visual studio code]: https://code.visualstudio.com/
206217
[certain teams]: https://github.com/search?q=repo%3Arust-lang%2Fteam+path%3Ateams%2F*.toml+dev-desktop&type=code&ref=advsearch
207218
[simpleinfra-vars-user-config]: https://github.com/rust-lang/simpleinfra/blob/dbf839ef25155df1f33c18f151283436b0f70f3b/ansible/roles/dev-desktop/defaults/main.yml#L12:L16

0 commit comments

Comments
 (0)