[buildd-tools-devel] Bug#688325: Bug#688325: [schroot] I can't mount usb key with schroot
Guy Roussin
guy.roussin at teledetection.fr
Sun Sep 23 07:47:44 UTC 2012
>> I can not mount a USB key under /media because
>> they belong to root.
>>
>> How can i achieve this ?
>
> The same way as you would on the host system, especially since the
> files under /dev/ are bind mounted from the host. This is not, I
> think, something that schroot itself should cater for. Tools like
> pmount and more recent tools used by common desktop environments
> for mounting removable media should work inside the chroot as well;
> particuarly when using the "desktop" profile. If there's anything
> we can add to that profile to make desktop removable media
> support work better, then we can certainly look at adding that.
>
>
> Regards,
> Roger
>
Thank you Roger,
But this is what i get with pmount (i use the desktop profile) :
guy at pcplat53:~$ pmount /dev/sdb1
guy at pcplat53:~$ pumount /dev/sdb1
guy at pcplat53:~$ schroot -c precise
(precise)guy at pcplat53:~$ pmount /dev/sdb1
Error: could not open fstab-type file: No such file or directory
(precise)guy at pcplat53:~$
This is ok with the host but not with the schroot
Guy
More information about the Buildd-tools-devel
mailing list