Diferenças entre / media / Home e / home

1

Estou usando o Ubuntu 18.04 e acabei de criar uma partição home separada chamada Home e copiei o conteúdo com o rsync:

sudo rsync -aXS --progress --exclude='/*/.gvfs' /home/. /media/Home/.  

Então, quando eu executei o comando:

sudo diff -q -r  /home /media/Home -x ".gvfs/*"

Eu tenho muitas diferenças. Então eu usei o comando rsync mais algumas vezes em tempos diferentes, mas ele ainda mostra muitas diferenças. Eu obtenho as diferenças do Spotify e do Firefox como elas são arquivos de cache feitos em / home depois de usar arquivos rsync ou cache removidos de / home depois de usar o rsync que ficou em / media / Home. No entanto, tenho algumas diferenças no matplotlib na pasta anaconda3, gnome-session-monitor, gnome-shell e gnome-calculator com as quais me preocupo:

diff: /home/oussema/anaconda3/pkgs/matplotlib-2.1.2-py36h0e671d2_0/lib/libtcl.so: No such file or directory
diff: /media/Home/oussema/anaconda3/pkgs/matplotlib-2.1.2-py36h0e671d2_0/lib/libtcl.so: No such file or directory
diff: /home/oussema/anaconda3/pkgs/matplotlib-2.1.2-py36h0e671d2_0/lib/libtk.so: No such file or directory
diff: /media/Home/oussema/anaconda3/pkgs/matplotlib-2.1.2-py36h0e671d2_0/lib/libtk.so: No such file or directory
Only in /home/oussema: .gvfs
Files /home/oussema/.local/share/gnome-shell/application_state and /media/Home/oussema/.local/share/gnome-shell/application_state differ
diff: /home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/167/.local/share/themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.local/share/themes: No such file or directory
diff: /home/oussema/snap/gnome-calculator/167/.themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/167/.themes: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.local/share/themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.local/share/themes: No such file or directory
diff: /home/oussema/snap/gnome-calculator/170/.themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/170/.themes: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libdconfsettings.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libdconfsettings.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libgiognomeproxy.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libgiognomeproxy.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libgiognutls.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libgiognutls.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libgiolibproxy.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/gio-modules/libgiolibproxy.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-am-et.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-am-et.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-broadway.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-broadway.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-cedilla.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-cedilla.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-cyrillic-translit.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-cyrillic-translit.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-fcitx.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-fcitx.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ibus.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ibus.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-inuktitut.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-inuktitut.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ipa.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ipa.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-multipress.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-multipress.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-thai.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-thai.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ti-er.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ti-er.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ti-et.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-ti-et.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-viqr.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-viqr.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/common/.cache/immodules/im-xim.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/common/.cache/immodules/im-xim.so: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.local/share/themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.local/share/themes: No such file or directory
diff: /home/oussema/snap/gnome-calculator/current/.themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-calculator/current/.themes: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.local/share/themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.local/share/themes: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/39/.themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/39/.themes: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.local/share/themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.local/share/themes: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/41/.themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/41/.themes: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libdconfsettings.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libdconfsettings.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libgiognomeproxy.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libgiognomeproxy.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libgiognutls.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libgiognutls.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libgiolibproxy.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/gio-modules/libgiolibproxy.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-am-et.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-am-et.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-broadway.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-broadway.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-cedilla.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-cedilla.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-cyrillic-translit.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-cyrillic-translit.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-fcitx.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-fcitx.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ibus.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ibus.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-inuktitut.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-inuktitut.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ipa.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ipa.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-multipress.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-multipress.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-thai.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-thai.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ti-er.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ti-er.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ti-et.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-ti-et.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-viqr.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-viqr.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-xim.so: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/common/.cache/immodules/im-xim.so: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-Black/cursors: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-Black/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-Black/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-White/cursors: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-White/cursor.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.local/share/icons/DMZ-White/index.theme: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.local/share/themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.local/share/themes: No such file or directory
diff: /home/oussema/snap/gnome-system-monitor/current/.themes: No such file or directory
diff: /media/Home/oussema/snap/gnome-system-monitor/current/.themes: No such file or directory

Aqui está a saída completa do comando diff. Eu quero saber se é seguro usar apenas o fstab para mudar / media / Home para / home?

    
por Oussema 31.05.2018 / 17:37

1 resposta

2

Se você rsync o diretório home de um usuário, você precisa fazer isso a partir do login de outro usuário enquanto o usuário que está sendo rsynced está desconectado porque o diretório home mudará constantemente devido a todos os aplicativos tenho correndo.

Também é sempre aconselhável ter 2 usuários em um sistema: um usuário e um administrador: o usuário normal é para o seu uso diário e o administrador para fazer material administrativo ou quando o outro usuário tem problemas de perfil.

Alternativamente:

  • inicialize a partir de um USB ativo e tenha um rsync completamente estático
  • inicialize a partir de um CloneZilla Live USB e obtenha uma imagem de partição.
por Fabby 31.05.2018 / 18:00