Hi,
Thanks, that's what i missed! Remounting the device inside the namespace
too helps a lot :)
Regards,
Stefan
Herbert Poetzl wrote:
> did you unmount the 'original' usb mount _inside_
> the guest namespace too? if not, that is very likely
> to cause your issues ...
>
> don't forget, the guest namespace will (atm) not
> automatically 'inherit' changes from the host
> namespace, so basically you want to do the following
> after an usb unplug/replug inside the guest namespace
>
> umount -f /mnt/data/vservers/data/media/usb0
> umount -f /media/usb0
> mount /some/usb/dev /media/usb0
> mount --bind /media/usb0 /mnt/data/vservers/data/media/usb0
>
> otherwise, all you will get is an empty dir
>
> HTC,
> Herbert
>
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Sep 28 17:06:40 2006