Guides Bad path suggestion

- Added: missing bad path suggestion for some parts
pull/689/head
TRaSH 2 years ago
parent 9fdc7f94ea
commit 7e826e2bea

@ -20,12 +20,10 @@
For example `/<path_to_data>/data`, or even `/data`. 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/folder-structure.md"
--8<-- "includes/hardlinks/bad-path-suggestion.md"
--8<-- "includes/hardlinks/breakdown-folder-structure.md" --8<-- "includes/hardlinks/breakdown-folder-structure.md"
--8<-- "includes/hardlinks/permissions.md" --8<-- "includes/hardlinks/permissions.md"

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

@ -67,9 +67,7 @@ data
### Breakdown of the Folder Structure ### Breakdown of the Folder Structure
!!! info --8<-- "includes/hardlinks/bad-path-suggestion.md"
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.
## Setting up the containers ## 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"} More info [HERE](/Hardlinks/Hardlinks-and-Instant-Moves/){:target="_blank" rel="noopener noreferrer"}
!!! attention "" --8<-- "includes/hardlinks/bad-path-suggestion.md"
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.
But you're able to change this, by not using the pre-defined/recommended paths like: 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