Merge pull request #689 from TRaSH-/Guides-bad-path-suggestion

Guides Bad path suggestion
pull/690/head
TRaSH 2 years ago committed by GitHub
commit 38d9d911e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,12 +20,10 @@
For example `/<path_to_data>/data`, or even `/data`.
!!! info
The paths you use on the inside matter. Because of how Dockers volumes work, passing in two or three volumes such as the commonly suggested `/tv`, `/movies` and `/downloads` makes them look like two or three file systems, even if they arent. This means hard links wont work and instead of an instant move, a slower and more I/O intensive copy + delete is used.
--8<-- "includes/hardlinks/folder-structure.md"
--8<-- "includes/hardlinks/bad-path-suggestion.md"
--8<-- "includes/hardlinks/breakdown-folder-structure.md"
--8<-- "includes/hardlinks/permissions.md"

@ -162,6 +162,8 @@ data
└── tv
```
--8<-- "includes/hardlinks/bad-path-suggestion.md"
--8<-- "includes/hardlinks/breakdown-folder-structure.md"
------

@ -67,9 +67,7 @@ data
### Breakdown of the Folder Structure
!!! info
The paths you use on the inside matter. Because of how Dockers volumes work, passing in two or three volumes such as the commonly suggested `/tv`, `/movies` and `/downloads` makes them look like two or three file systems, even if they arent. This means hard links wont work and instead of an instant move, a slower and more I/O intensive copy + delete is used.
--8<-- "includes/hardlinks/bad-path-suggestion.md"
## Setting up the containers

@ -5,8 +5,7 @@ This basic example is based on the use of docker images
More info [HERE](/Hardlinks/Hardlinks-and-Instant-Moves/){:target="_blank" rel="noopener noreferrer"}
!!! attention ""
The default path setup suggested by some docker developers that encourages people to use mounts like `/movies`, `/tv` and `/downloads` is very suboptimal because it makes them look like two or three file systems, even if they arent. It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.
--8<-- "includes/hardlinks/bad-path-suggestion.md"
But you're able to change this, by not using the pre-defined/recommended paths like:

@ -0,0 +1,3 @@
!!! attention ""
The default path setup suggested by some docker developers that encourages people to use mounts like `/movies`, `/tv` and `/downloads` is very suboptimal and it makes them look like two or three file systems, even if they arent (*Because of how Dockers volumes work*). It is the easiest way to get started. While easy to use, it has a major drawback. Mainly losing the ability to hardlink or instant move, resulting in a slower and more I/O intensive copy + delete is used.
Loading…
Cancel
Save