mac: How and why it is worth storing your home directory on a different partition

    Why is it worth keeping your home directory on a different partition? There is a debate among Mac users about whether to break the preinstalled Macintoch HD into 2 or more partitions (in terms of Windows - disks) or not. For myself, I definitely decided what it costs. Firstly, one section can be given to Time Machine. Secondly, it’s personally convenient for me, according to the experience of Windows and independently of Windows and Mac-way, to store data separately from the axis. Thirdly, this information may be useful for happy owners of Eeepc with Mac OS X installed (because after installing the Mac OS, there are 100 MB of space left on its 4g OS, via SilverTH )



    The size of my hard drive is 80GB. Under Mac OS X, 15GB is allocated. After cleaning with any tools any debrisfreshly installed axis, about 5 remained free. Now 2.5GB is free on the system disk - the installed software affects it. Yes, it is painlessly put on this section.

    My home folder, however, as well as the theoretical folders of other users, are stored in the second section (50GB). In the personal folder, as you know, is the Desktop directory and others. The speed of the system does not suffer, but maybe vice versa. Errors in the file system do not occur.


    The third section (10GB), as was said, was given to the Time Machine. Hypothetically :), because I live under Tiger, and the disk is occupied by software for Windows. a kind of flash drive.

    How to do it? Read below:

    How to transfer your home directory to another partition


    Excuse: Please read the page to the end before doing anything!

    Moving your home directory to a separate partition will be useful if you ever need to reinstall OS X, you can simply format the partition with OS X, reinstall OS X, and be ready to work in less than an hour, without having to spend time backing up your personal data and files. The whole task can be done by several terminal commands and yes, it’s easier, I can explain where to poke in Finder and NetInfo Manager ( in which I climbed and did everything with pens ).

    Automatic way


    We write to Terminal, replacing “username” with the name of our profile, and “OtherPartition” with the name of the partition where you need to go: Don’t continue without making sure that the new user directories work fine! Now you need to log out and go back to the system. Then use the rm -dr command to remove the original user directories. Here it is: Well, and of course, creating a symlink to our directory:
    sudo ditto -rsrcFork /Users /Volumes/OtherPartition/Users
    sudo niutil -createprop / /users/username home \
    /Volumes/OtherPartition/Users/username





    sudo rm -dr /Users



    sudo ln -s /Volumes/OtherPartition/Users /Users

    manual way


    we will assume that your data has already been copied to a new location.

    As was said, you can use NetInfoManager and get the same results.



    the program lies in applications / utilities / and requires an administrator password to work. then just replace the variable names.

    second step - prescribe alias

    sudo ln -s /Volumes/OtherPartition/Users /Users

    voila

    Source: http://www.bombich.com/mactips/homedir.html [eng]

    In general, many useful things can be found at http://www.bombich.com/mactips/ .

    Also popular now: