:: Re: [DNG] cross install bind mount …
Pàgina inicial
Delete this message
Reply to this message
Autor: tempforever
Data:  
A: dng
Assumpte: Re: [DNG] cross install bind mount question
Haines Brown via Dng wrote:
> I'm cross installing Devuan on a newly instaslled SSD. I've
> cross istalled successfully before, but ran into trouble this time
> trying to bñind mouning /dev.

What is "cross installing" ?
>
> I'm told to bind mount /dev from my host system on top of /dev
> in the target system. I'm told to use this optiion is dangerous.
>
> A question. Is this bind mount in fact optional?

If you're chroot-ing into the target mount point, I believe this step is
required.
>
> Another quetion: if not optinal what would be the comand? These don't
> work:
>
>     \# mount --rbind /dev dev/
>     \# mount --bind  /dev/ /mnt/devinst/dev

mount -o bind /dev /mnt/devinst/dev
mount -o bind /dev/pts /mnt/devinst/dev/pts

> Yet another question: if dangerou would I better of using makedev to
> create device file for my new partitios and then bind mount them
> individually as normal?

I have no experience in this.  I don't foresee it as being dangerous.
> ---
>
>      Haines Brown 
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

>