Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174592

Re: Symlinking or hard linking additional storage to /home directories

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: Symlinking or hard linking additional storage to /home directories
Date 2016-11-12 19:20 +0100
Message-ID <sCL4e-5H5-13@gated-at.bofh.it> (permalink)
References <sCL4e-5H5-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Le duodi 22 brumaire, an CCXXV, Robert Menes a écrit :
> My question is this: which is the better path to take? Symlinking or hard
> linking another drive to ~/Music and ~/Videos? I understand that I
> will need to edit /etc/fstab and all; that's fine. Just curious as to
> whether symlinks or hard links are the way to go.

You can not do hardlinks across different filesystems, so that part is
settled.

You could not do hardlinks on directories either, you would have to work
plain file per plain file. That would be a pain.

You could use bind mounts, but I really do not recommend it.

I suggest mounting the extra storage somewhere like /data and using
symlinks; that is what I do.

Regards,

-- 
  Nicolas George

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Symlinking or hard linking additional storage to /home  directories Nicolas George <george@nsup.org> - 2016-11-12 19:20 +0100
  Re: Symlinking or hard linking additional storage to /home  directories Lars Noodén <lars.nooden@gmail.com> - 2016-11-12 19:30 +0100
    Re: Symlinking or hard linking additional storage to /home  directories Nicolas George <george@nsup.org> - 2016-11-12 19:40 +0100
      Re: Symlinking or hard linking additional storage to /home  directories Lars Noodén <lars.nooden@gmail.com> - 2016-11-12 20:20 +0100
  Re: Symlinking or hard linking additional storage to /home directories David Wright <deblis@lionunicorn.co.uk> - 2016-11-13 05:50 +0100
    Re: Symlinking or hard linking additional storage to /home directories rhkramer@gmail.com - 2016-11-13 14:10 +0100

csiph-web