Pb : je voudrais mounter un répertoire est non un device

Top Page

Reply to this message
Author: guilde
Date:  
To: linux, guilde
Subject:  Pb : je voudrais mounter un répertoire est non un device
Bonjour,

    Je voudrais savoir si il est possible de faire l'équivalent d'un device
mount avec un repertoire :


    Actuellement je fais un "double" montage de /dev/hdb1 :


        mount -t ext2 /dev/hdb1 /mnt/hdb1
        mount -t ext2 -o loop /dev/hdb1 /home/ftp/pub


    En fait, je voudrais faire


        mount -t ext2 /dev/hdb1 /mnt/hdb1
        mount -o loop /mnt/hdb1/pub /home/ftp/pub


        on pourrait me repondre fais un ln -s /mnt/hdb1/pub /home/ftp/pub, mais
cela ne me convient pas.


    Merci de vos renseignements.


Salut




----------------------------------------------------------------------------
Le Tanou Jerome - mailto:Jerome.Le-Tanou@ujf-grenoble.fr
Centre de Ressource Informatique (C.R.I.P.)
University Joseph Fourier - Grenoble - France
Phone : (+33) 04 76 51 42 54 - Fax : (+33) 04 76 51 42 74
http://www.ujf-grenoble.fr/~letanou/welcome.phtml
----------------------------------------------------------------------------
MS is a lot better at making money than it is at making good operating
systems. - Linus Torvalds