Ответ: MDEV: regexps

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 27 18:18:07 UTC 2008


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



More information about the busybox mailing list