Re: mirroring /dev somewhere else

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

 



On 12.11.2010 19:13, Mulyadi Santosa wrote:
On Fri, Nov 12, 2010 at 20:14, Christophe Aeschlimann
<c.aeschlimann@xxxxxxxxxxxx>  wrote:
On 12.11.2010 13:34, Christophe Aeschlimann wrote:

The problem I have is with recreating the /dev inside my mini rootfs.

I'm using udev and I don't know how to instruct udev to mirror the
content of /dev in /var/tmp/update/dev/.

Or maybe I can just create the devices (mtdX) I need using mknod ?
Would that work (I'll be trying) ?

Maybe I'll answer myself here but would just copying the devices
from /dev/ to /var/tmp/update/dev/ work ?
does "mount --bind" help? please kindly check "man mount" too

Thanks for the trick !

What I did is cp -a /dev/* /var/tmp/udpdate/dev/ which works fine.

But I'll keep your solution in a corner of my head :)


--
Christophe Aeschlimann

Embedded Software Engineer

Advanced Communications Networks S.A.

Rue du Puits-Godet 8a
2000 Neuchâtel, Switzerland

Tél. +41 32 724 74 31

c.aeschlimann@xxxxxxxxxxxx

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux