Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #227858
| From | Klaus Singvogel <deb-user-ml@singvogel.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: /home as a symlink? |
| Date | 2020-10-16 13:50 +0200 |
| Message-ID | <B0wpc-4Qt-5@gated-at.bofh.it> (permalink) |
| References | <B0unn-3Gv-9@gated-at.bofh.it> <B0uGK-3MZ-1@gated-at.bofh.it> <B0v06-48S-11@gated-at.bofh.it> |
| Organization | private |
Jesper Dybdal wrote:
>
> On 2020-10-16 11:45, Yoann LE BARS wrote:
> > On 2020/10/16 at 11:23 am, Jesper Dybdal wrote:
> > > Can I simply move the files and then make /home a symlink to /disk2/home?
> > You can, but I think a better way is to simply mount the partition as
> > /home.
> Thanks for your response. That would be the natural way of doing it if I
> were partitioning a new disk. But I don't want to do that, and the target
> disk also has other data, so /home cannot be a complete partition.
I'm already running my Debian with $HOME set to a different path:
/home.disk2/<username>
All I needed to change was the /etc/passwd entry: to the new, different
location; nearly eveything worked fine since then.
I started with this constellation years ago and never changed the path
afterwards. So I don't have any experience in case of a move.
The only "program" which caused issues in the past was apparmor.
For this, I modified: /etc/apparmor.d/tunables/home.d/site.local
and added: @{HOMEDIRS}+=/home.disk2
For the future, I see with doubts that systemd wants to make the home
directory portable and if this will cause issues for my constelation.
Best regards,
Klaus.
--
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D 1994-06-27
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
/home as a symlink? Jesper Dybdal <jd-debian-user@dybdal.dk> - 2020-10-16 11:40 +0200
Re: /home as a symlink? Yoann LE BARS <yoann@le-bars.net> - 2020-10-16 12:00 +0200
Re: /home as a symlink? Jesper Dybdal <jd-debian-user@dybdal.dk> - 2020-10-16 12:20 +0200
Re: /home as a symlink? Yoann LE BARS <yoann@le-bars.net> - 2020-10-16 12:30 +0200
Re: /home as a symlink? Felix Miata <mrmazda@earthlink.net> - 2020-10-16 13:10 +0200
Re: /home as a symlink? Klaus Singvogel <deb-user-ml@singvogel.net> - 2020-10-16 13:50 +0200
Re: /home as a symlink? Greg Wooledge <wooledg@eeg.ccf.org> - 2020-10-16 14:00 +0200
Re: /home as a symlink? Urs Thuermann <urs@isnogud.escape.de> - 2020-10-16 14:00 +0200
Re: /home as a symlink? Jesper Dybdal <jd-debian-user@dybdal.dk> - 2020-10-16 14:10 +0200
Re: /home as a symlink? Stefan Monnier <monnier@iro.umontreal.ca> - 2020-10-16 16:00 +0200
Re: /home as a symlink? deloptes <deloptes@gmail.com> - 2020-10-16 20:30 +0200
Re: /home as a symlink? David Wright <deblis@lionunicorn.co.uk> - 2020-10-16 21:10 +0200
Re: /home as a symlink? Mike Castle <dalgoda+debian@gmail.com> - 2020-10-17 22:50 +0200
csiph-web