Tiny Core Base > TCB Talk

Persistent Home

(1/2) > >>

softwaregurl:

--- Quote ---The very first use of this code will automatically setup /home/tc to "bind" to /mnt/hdXY/tchome By using this option, you are not having to wait for a backup/restore for those items in your /home/tc directory.
--- End quote ---
Would it be possible for TCB to bind  /home instead of /home/tc.  This would make it easier for a  multiuser setup.  As it is, I guess I would have to bind each additional users home or have them in the backup.
(And calling it Persistent Home is a bit of a misnomer when it's really Persistent Home/tc  ;).)

mikshaw:
I don't disagree with you.  This behavior was developed in DSL and I thought it was kind of annoying since I was trying to share a home directory between distributions and ended up making a bunch of symlinks.

You can do it yourself, though, by mounting home from /opt/bootlocal.sh

softwaregurl:

--- Quote ---You can do it yourself, though, by mounting home from /opt/bootlocal.sh
--- End quote ---
I did that myself with DSL.   I could also find the file that binds to home/tc and remaster, but then I would have to remaster every release (and verify that it causes no problems).

It looks to me like just changing one mount command in a startup script?  I guess I'm fishing for any technical reason that it wouldn't work.

tobiaus:
i'm not going to do much to argue against greater multiuser support (the less it takes the better, but it sounds nice) but i will poke at the "misnomer" statement. /home/tc is the "home folder," of user tc... /home is just where each user's "home folder" goes. but if you want to use the word "misleading..." i guess "misnomer" sounds more friendly (even if it's not one,) so that makes sense.

and the obligatory "appeal to wikipedia" fallacy:
--- Quote from: http://en.wikipedia.org/wiki/Home_folder ---The name of the home directory depends on the operating system, but there appears to be some convergence in recent years. In all cases "name" is the users name or id.

    * /home/name - most distributions of Linux, most variants of BSD (e.g. OpenBSD), and Solaris
--- End quote ---

curaga:
I'd like to point out that if you want another username, but still a single user system, if you boot with user=myusername the directory mounted is /home/myusername. Of course this is not a solution for true multiuser support.

Navigation

[0] Message Index

[#] Next page

Go to full version