mount urciteho adresare z disku 2

Radek Oslejsek oslejsek na informatics.muni.cz
Pátek Červenec 13 07:19:14 CEST 2001


Čt, 12 čec 2001, Radek Vybiral napsal(a):

> On Thu, 12 Jul 2001, Petr Zanta wrote:
> 
> > jde nejak namountit urcitej adresar z disku 2 ?
> > 
> > tento pokus
> > 
> > mount /dev/hdb1/pokus /db/pokus
> > 
> > dopadl takto...
> > 
> > mount: specialni zarizeni /dev/hdb1/pokus neexistuje
> >               (nazev cesty nezacina adresarem)
> 
> No takto to samozrejme nepujde ani nahodou a mount se zlobi opravnene.
> 
> Resenim je pripojit druhy disk napr na /mnt/disk2 a pouzit link /db/pokus
> /mnt/disk2/pokus.
>

Nebo pouzit jadro 2.4.X. Viz. 'man mount':

Since Linux 2.4.0 it is possible to remount  part  of  the
file hierarchy somewhere else. The call is
          mount --bind olddir newdir
	  
-- 
 ======== ==  Radek Ošlejšek <oslejsek na fi.muni.cz>
 \  ==== / /  Fakulta informatiky MU Brno, Botanická 68a, Brno
  \  -- / /   http://www.fi.muni.cz/~oslejsek/
   \_\ /_/    tel:+42-05-41512471 mobil:+42-0604890163


Další informace o konferenci Linux