On Tue, Nov 29, 2011 at 03:50:10PM +0100, Michael Biebl wrote: > On 29.11.2011 14:21, Debian Bug Tracking System wrote: > > > > * setupcon: add /run and /dev to /lib/init/rw as alternative directories > > for temporary files. > > > /dev for temporary files? I hope this is a typo.
No, it's not a typo but /run is used with precedence. The exact code is this: TMPFILE=`mktemp /tmp/tmpkbd.XXXXXX 2>/dev/null` \ || TMPFILE=`mktemp /run/tmpkbd.XXXXXX 2>/dev/null` \ || TMPFILE=`mktemp /dev/.tmpkbd.XXXXXX 2>/dev/null` \ || TMPFILE=`mktemp /lib/init/rw/tmpkbd.XXXXXX 2>/dev/null` \ || TMPFILE=`mktemp 2>/dev/null` The reason for this is I want the code to be working on any Unix-like system regardless of the distribution, version, kernel (Linux or FreeBSD) or the stage at the boot process. Anton Zinoviev -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20111129150547.ga23...@debian.lan