On Sat, Jun 7, 2014 at 11:30 AM, Otto Moerbeek <o...@drijf.net> wrote: > On Sat, Jun 07, 2014 at 08:20:00AM -0400, sven falempin wrote: > >> On Sat, Jun 7, 2014 at 6:58 AM, Stuart Henderson <s...@spacehopper.org> >> wrote: >> > On 2014-06-06, sven falempin <sven.falem...@gmail.com> wrote: >> >> Dear misc readers, >> >> >> >> I try to understand why MAKEDEV is failing inside my chroot, while i >> >> can manually create some dev with mknod . >> >> >> >> Like: >> >> SCRIPT ${DESTDIR}/dev/MAKEDEV dev/MAKEDEV >> >> SPECIAL cd dev; sh MAKEDEV ramdisk >> >> sh: <stdin>[1]: mknod: console: Invalid argument >> >> sh: <stdin>[1]: mknod: tty: Invalid argument >> >> >> >> AFAIK everything else is ok inside the CHROOT. >> >> >> >> Help is welcome. >> >> >> >> >> > >> > Your chroot is probably on a filesystem mounted with "nodev". >> > >> >> nop , this mistake i did and already corrected. I can call a pipe | >> or read /dev/(u)random etc... (i called MAKEDEV outside the chroot and >> then enter it), but when inside...i have those Invalid argument. >> i suspect a config file somewhere but i am in the dark. > > Use set -x in the MAKEDV script to see what command fails. >
i try right away , thanks > Or just create the device nodes from a non-chrooted environment in the > right dir. it breaks the purpose > > -Otto > > > -- --------------------------------------------------------------------------------------------------------------------- () ascii ribbon campaign - against html e-mail /\