chiark / gitweb /
[PATCH] scsi_id: when udevstart is started, /tmp is not writeable.
authormd@Linux.IT <md@Linux.IT>
Sun, 6 Feb 2005 00:01:29 +0000 (01:01 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:24:20 +0000 (23:24 -0700)
extras/scsi_id/scsi_id.c

index d2155e68663908a88f43458c687bebe91f1ce090..f45563d1b3b9ed328318ff8f909051e92d144188 100644 (file)
@@ -44,8 +44,8 @@
 /*
  * temporary names for mknod.
  */
 /*
  * 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)
 
 /*
  * XXX Note the 'e' (send output to stderr in all cases), and 'c' (callout)