From: md@Linux.IT Date: Sun, 6 Feb 2005 00:01:29 +0000 (+0100) Subject: [PATCH] scsi_id: when udevstart is started, /tmp is not writeable. X-Git-Tag: 052~14 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=fd3eeb7502d9ed52569bdb3e01a50ecbc132035e [PATCH] scsi_id: when udevstart is started, /tmp is not writeable. --- diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c index d2155e686..f45563d1b 100644 --- a/extras/scsi_id/scsi_id.c +++ b/extras/scsi_id/scsi_id.c @@ -44,8 +44,8 @@ /* * temporary names for mknod. */ -#define TMP_DIR "/tmp" -#define TMP_PREFIX "scsi" +#define TMP_DIR "/dev" +#define TMP_PREFIX "tmp-scsi" /* * XXX Note the 'e' (send output to stderr in all cases), and 'c' (callout)