Re: two /home directories?
On Tue, Jul 23, 2002 at 11:01:34AM -0400, alex wrote:
> I just finished a fresh install of Debian with / on hdb7 and a /home
> partition on hda3. mtab verifies that /home is on hda3.
>
> How come there's also a /home still in the directory root /?
That'd be the mount point. You need the directory there in order to
mount something on it.
> It doesn't appear in mtab.
mtab only lists mount points, not directories.
> If mtab recognizes that /home is on hda3, why does the command
> cd /home bring up the other /home directory, the one under /
> instead of the one under hda3?
/etc/mtab isn't always kept up to date in certain situations, such as a
read-only root filesystem. Try /proc/mounts. You'll probably have to
'mount /home' or 'mount -t ext2 /dev/hda3 /home', but it should be
possible to fix things such that this is done automatically.
What's in /etc/fstab?
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: