>>> Matthias Kilian 24-Feb-06 21:38 >>>
>
> Hi,
>
> can anyone tell me wtf I'm missing in the commands below?
>
> # mkdir foo
> # cd foo
> # mkdir bin dev
> # cp -p /bin/cat bin
> # cd dev
> # /dev/MAKEDEV std
> # cd ..
> # chroot . /bin/cat /dev/stdin
> cat: /dev/stdin: Device not configured
>
> The reason I ask is that I need to run tar -czf within a chroot
> environment, but gzip(1) tries to open /dev/stdin and fails (as the
> contrived invocation of cat(1) in the example above).
>
> Ciao,
>       Kili

Are you on a partition with nodev set?

Tom

Reply via email to