Anita Lewis wrote:

> I just left in the links here.  I don't understand how these could all be
> set to mount in /etc/fstab. I thought you could just mount a partition with
> one mount point there, for example
>
> /dev/hda7      /home            ext2     defaults          0       0
> /dev/hda8   /home/username      ext2  defaults             0       0
>
> This can be done because each of these is a separate partition.  How would
> you mount all these directories which are on the same partition?  The way he
> has done it is what comes to mind.  Mount /dev/hda4 on /mnt/hda4 and then
> make directories: home, opt, tftpboot, usr, and var there and then symlink to
> them.  I'd like to know this other way of doing it if it can be done in
> fstab.

The --bind option to mount in 2.4 kernels will do this.  Don't know if it can be
put in fstab or not.  It certainly could be put in a boot script (and the /mnt
mounts removed after the bind).

Dave


_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to