Manjaro Difference between revisions of "Add a Storage Partition & Modify your System to Suit/ru"

Difference between revisions of "Add a Storage Partition & Modify your System to Suit/ru"

From Manjaro
(Created page with "{{File| file=/etc/profile| content=<pre># Set our default path PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/mnt/bdata/scripts:" export PATH</pre>}}")
(Created page with "Во-первых, мне пришлось проверить оба файла ~/.bash_profile и /etc/profile и изменить переменные '''PATH''', где я...")
Tags: Mobile web edit Mobile edit
Line 52: Line 52:
==Настройка системы для использования новых каталогов хранения по умолчанию==
==Настройка системы для использования новых каталогов хранения по умолчанию==


<div lang="en" dir="ltr" class="mw-content-ltr">
Во-первых, мне пришлось проверить оба файла ~/.bash_profile и /etc/profile и изменить переменные '''PATH''', где я добавил пути, которые теперь были неверными. Большинство пользователей здесь ничего не меняли в этих двух файлах, хотя это очень легко сделать, чтобы не проверять их ради безопасности. При просмотре этих файлов проверьте строку PATH на наличие всего, что относится к вашим перемещенным каталогам хранения. Скорее всего, у вас не будет никаких различий, если только вы их не добавили. В моих файлах эти строки приведены ниже и вы увидите, где я заменил оригинальные пути на /mnt/bdata :
Firstly, I had to check both the ~/.bash_profile & the /etc/profile files & modify the '''PATH''' variables where I had added paths that were now incorrect. Most users here won't have changed anything in these two files, though it is just too easy to do, to not check them for safeties sake. When looking at these files, check the PATH line for anything that relates to your moved storage directories. You probably won't have any differences unless you added them. These lines in my files follow, you will see where I have replaced the original paths with /mnt/bdata :
</div>


{{File|
{{File|
Cookies help us deliver our services. By using our services, you agree to our use of cookies.