On Thursday 27 March 2008 19:12, Vladimir Dronnikov wrote:
> Oops! Making mdev testsuite will be tricky!
>
> mdev has very tighly hardcoded paths: /dev and /etc/mdev.conf.
>
> To be tested mdev should IMO either use relatives paths ("dev" and,
> after xchdir("dev"), xfopen("../etc/mdev.conf", ...)) or be given
> these paths as options, e.g.: mdev -s -c /etc/mdev.conf /dev. The
> latter IMO seems better...
You need to chroot to a prepared test directory before you run mdev.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox