On Sat, 20 May 2000, Samy Elashmawy wrote:
ok now that I have confuesed every one including my self.
The only confusing point is why you believe that, after you set things up so that people's home directories are in /data/home, that location isn't the "real /home". It'll be the only /home anyone has. Everything wil work properly. How much more real could it be?
There are, as far as I am aware, exactly three ways to incorporate space on a disk partition into the file system.
(1) Inform the boot process that the partition is / (the root partition). Obviously this applies only to the root partition. And you *must* do it to *exaclty* one partition.
(2) Mount the *entire* formatted partition into a specified directory. This means that any reference to that directory is a reference to that
However it applies only to the *entire* partition, not to a subset of it.
(3) Having already mounted the partition somewhere, create a symbolic link to a file or directory on it. That file or directory will then appear in two
At 07:40 PM 5/21/2000 -0700, Don Edwards wrote: partition. places
in the file system, possibly with different names.
What you need in this case is #3.
Thanks , now you have cleared it all up. I was under the impression that a sysm link would keep the /home dir in TWO paces at once , therefore duplicating it. Not wat I want , and not as you have just clearly explianed.
In your case, you have /data already mounted, and have /data/home. You need to copy the entire contents of /home into /data/home, with all permissions intact and all symbolic links updated.
will log in as root , and copy via mc.
Next, you need to make /data/home appear to be /home. You CANNOT do this while another directory named /home exists. So, delete /home. Then create a symbolic link, named /home, that points at /data/home.
Right , so I need to copy/move it to a temp dir , then after creating the sym link , move it back to the new /home (sysm link dir)
Now, you want to know where the "real /home" is? It is, simultaneously, in two places: /home and /data/home.
Got ya , the /home is a sim link to /data/home !
Your only even mild concern is that /data must be mounted before any reference to anyone's home directory is valid. It isn't a big deal, as mounting the partitions in /etc/fstab is one of the first things attended to in the boot process.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/