Le Mercredi 14 Novembre 2001 09:47, vous avez écrit :
> onsdagen den 14 november 2001 06.57 Borsenkow Andrej wrote:
> > > Inadvertently issued same mount twice:
> > > # mount -o loop /home/ISO/Mandrake81-cd1-inst.i586.iso /mnt/cd1
> > >
> > > and got:
> > > # df
> > > Filesystem           1k-blocks      Used Available Use% Mounted on
> > > [snip]
> > > /home/ISO/Mandrake81-cd1-inst.i586.iso
> > >                         663744    663744         0 100% /mnt/cd1
> > > /home/ISO/Mandrake81-cd1-inst.i586.iso
> > >                         663744    663744         0 100% /mnt/cd1
> > > /home/ISO/Mandrake81-cd2-ext.i586.iso
> > >                         663968    663968         0 100% /mnt/cd2
> > > /home/ISO/Mandrake81-cd3-supp.i586.iso
> > >                         664224    664224         0 100% /mnt/cd3
> >
> > It is not a bug. It is possible to mount the same filesystem several
> > times, I forgot exact reasons. Just how exactly useful it is is
> > different matter.
>
> I think it is to overcome chroot hassles.

For information:

This is a new feature before the 2.4.9 kernel (I think 2.4.9 i'm not sure, 
but this feature are not in the 2.4.3 vanilla kernel, Mandrake include that 
with a patch in this version)

In kernel config -> multiple device support (RAID+LVM) -> MultiIOPath ( i the 
kernel or as module). 

With this feature you can now mount a directory: 
[root@andromede olivier]# mount --bind /tmp /mnt/disk
[root@andromede olivier]# mount
/dev/hda5 on / type ext2 (rw,noatime)
none on /proc type proc (rw)
...
/dev/hda11 on /tmp type ext2 (rw,noatime)
/dev/hda6 on /usr type ext2 (rw,noatime)
/dev/hda7 on /var type ext2 (rw,noatime)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0664,devgid=43)
...
/dev/sda5 on /mnt/scsi type reiserfs (rw)
/tmp on /mnt/disk type none (rw,bind)
[root@andromede olivier]# umount /mnt/disk

Hope help you, excuse my bad english, from France.
-- 
Olivier Thauvin-CNRS Service Aeronomie
[EMAIL PROTECTED] 
Téléphone:
01 64 47 43 60 à Verrières (lundi,mercredi et vendredi)
01 44 27 47 59 à Jussieu (Mardi et Jeudi)

Service d'Aéronomie
Réduit de Verrieres - BP 3
Route des Gatines
91371 Verrieres le Buisson Cedex
France

Fax:33 (0)1 69 20 29 99

Reply via email to