From: md@Linux.IT (Marco d'Itri) Date: Tue, 04 Jan 2005 20:58:42 +0000 Subject: [PATCH] scsi_id temporary directory Message-Id: <20050104205842.GB16652@wonderland.linux.it> MIME-Version: 1 Content-Type: multipart/mixed; boundary="UPT3ojh+0CqEDtpF" List-Id: To: linux-hotplug@vger.kernel.org --UPT3ojh+0CqEDtpF Content-Type: multipart/mixed; boundary="8P1HSweYDcXXzwPJ" Content-Disposition: inline --8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable /tmp is not suitable as a temporary directory because it's usually mounted read only at the time udevstart runs the program. --=20 ciao, Marco --8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=scsi_id_tmp Content-Transfer-Encoding: quoted-printable diff -ruNp udev-050.orig/extras/scsi_id/scsi_id.c udev-050/extras/scsi_id/s= csi_id.c --- udev-050.orig/extras/scsi_id/scsi_id.c 2004-12-18 06:53:07.000000000 +0= 100 +++ udev-050/extras/scsi_id/scsi_id.c 2005-01-01 22:19:15.000000000 +0100 @@ -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" =20 /* * XXX Note the 'e' (send output to stderr in all cases), and 'c' (callout) --8P1HSweYDcXXzwPJ-- --UPT3ojh+0CqEDtpF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFB2wOCFGfw2OHuP7ERAvPEAJ9Hr3L/5Qfd1cYSoctYZthHvC3eqQCfXUYh mtJYPThEo8qwHnIibW2XOzE= =tb8o -----END PGP SIGNATURE----- --UPT3ojh+0CqEDtpF-- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel