From: md@Linux.IT (Marco d'Itri)
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] scsi_id temporary directory
Date: Tue, 04 Jan 2005 20:58:42 +0000 [thread overview]
Message-ID: <20050104205842.GB16652@wonderland.linux.it> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 148 bytes --]
/tmp is not suitable as a temporary directory because it's usually
mounted read only at the time udevstart runs the program.
--
ciao,
Marco
[-- Attachment #1.2: scsi_id_tmp --]
[-- Type: text/plain, Size: 498 bytes --]
diff -ruNp udev-050.orig/extras/scsi_id/scsi_id.c udev-050/extras/scsi_id/scsi_id.c
--- udev-050.orig/extras/scsi_id/scsi_id.c 2004-12-18 06:53:07.000000000 +0100
+++ 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"
/*
* XXX Note the 'e' (send output to stderr in all cases), and 'c' (callout)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2005-01-04 20:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-04 20:58 Marco d'Itri [this message]
2005-01-04 21:16 ` [PATCH] scsi_id temporary directory Patrick Mansfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050104205842.GB16652@wonderland.linux.it \
--to=md@linux.it \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).