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 partition. 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 places in the file system, possibly with different names. What you need in this case is #3. 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. 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. Now, you want to know where the "real /home" is? It is, simultaneously, in two places: /home and /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/