scsi_id temporary directory
PATCH 1/1 scsi_id temporary directory
/tmp is not suitable as a temporary directory because it's usually mounted read only at the time udevstart runs the program.
Signature · 2 lines
ciao, Marco
extras/scsi_id/scsi_id.c +2 -2
@@ -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)
Quoted 2 lines · Marco d'Itri
/tmp is not suitable as a temporary directory because it's usually mounted read only at the time udevstart runs the program.
OK ...
Do you think it should have an option like "-t directory", defaulting to /dev?
-- Patrick Mansfield
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel