[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unionfs und mount --bind



Hi Christoph!

> Wenn ich 2 (oder mehr) verzeichnisse mit mount --bind (oder --rbind)
> irgendwohin noch mal gemountet habe und dann via unionfs die zusammen
> verbinden will dann ist der mountpoint von unionfs leer...
>
> Wieso?

Bei mir klappts wunderbar:

-- snip --
root@munch[/tmp/UNION]# tree
.
|-- bind
|   |-- ernte
|   |-- gemuese
|   `-- obst
|-- ernte
|-- gemuese
|   |-- bohne
|   `-- karotte
`-- obst
    |-- apfel
    `-- birne
7 directories, 4 files
root@munch[/tmp/UNION]# uname -r
2.6.11.11-1-q20
root@munch[/tmp/UNION]# mount --bind obst/ bind/obst/
root@munch[/tmp/UNION]# mount --bind gemuese/ bind/gemuese/
root@munch[/tmp/UNION]# cd bind/
root@munch[/tmp/UNION/bind]# mount -t unionfs -o dirs=gemuese/=rw:obst/=rw
unionfs ernte/
root@munch[/tmp/UNION/bind]# ls ernte/
apfel  birne  bohne  karotte
-- snap --

Der Kernel ist ein vanilla 2.6.11.11, unionfs ist aus Sarge von Eduard
Bloch. Also alles wunderbar hier.

Hm? Nochmal probieren?

--
Gruss Jens



Reply to: