D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Moving Dropbox to another drive

 

Hi All

On 06/10/14 13:41, Richard Brown wrote:
Hi Brad

On 6 Oct 2014, at 12:45, Brad Rogers <brad@xxxxxxxxxxxx> wrote:

On Mon, 6 Oct 2014 12:02:01 +0100
Richard Brown <rich@xxxxxxxxxxx> wrote:

Hello Richard,

Having changed that setting I thought that would then allow me to use
that directory as my home folder but it isn't. The original idea is so
that I could use the big disk for my home folder but Dropbox still
won't let me use it. Any ideas please?
Your line looks like this, I believe;

UUID=blah /media/Movies/home ext3 defaults        0       2

Which mounts disk at that directory.  If you want to use the disk
as /home you do

UUID=blah /home ext3 defaults        0       2

Be warned though, it'll mask (but not delete) anything previously
mounted at that point.  This probably isn't desirable.

However, if you want to simply change your user's home directory, fstab
isn't the place to do that.  That's done using whatever program you use
to manage your users.  Alternatively, from the command line;

# usermod -m -d /path/to/new/home/dir userNameHere

-m means move everything from their current home directory to the new
one.
-d specifies the path to their new home directory.

The new directory will be created if it doesn't already exit.

Thanks for the reply. I am assuming that if I move my home directory to a new disk 
Dropbox will use that disk as well. As I am the only user would it matter if I did 
the first rather than the latter. I believe it is basically what I want. I am 
presuming it is possible to undo?

If it is not desirable is it simply because it will hide what was already there 
please?

Thanks for the help by the way.

Rich
The solution that Brad sent worked. Thanks.

Rich



--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq