sane-project-website/old-archive/2000-02/0325.html

121 wiersze
6.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: Permissions of /dev/sg* and xsane, xscanimage (</TITLE>
<META NAME="Author" CONTENT="Joe Smith (jes@presto.med.upenn.edu)">
<META NAME="Subject" CONTENT="Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)</H1>
<!-- received="Thu Feb 24 08:25:17 2000" -->
<!-- isoreceived="20000224162517" -->
<!-- sent="Thu, 24 Feb 2000 11:10:01 -0500" -->
<!-- isosent="20000224161001" -->
<!-- name="Joe Smith" -->
<!-- email="jes@presto.med.upenn.edu" -->
<!-- subject="Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)" -->
<!-- id="200002241610.LAA01127@sparky.home-net" -->
<!-- inreplyto="Pine.HPP.3.96.1000224084709.10986A-100000@osra2.aip.de" -->
<STRONG>From:</STRONG> Joe Smith (<A HREF="mailto:jes@presto.med.upenn.edu?Subject=Re:%20Permissions%20of%20/dev/sg*%20and%20xsane,%20xscanimage%20(was%20Re:%20Report%20on%20,%20last%20CVS%20snapshot)&In-Reply-To=&lt;200002241610.LAA01127@sparky.home-net&gt;"><EM>jes@presto.med.upenn.edu</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu Feb 24 2000 - 08:10:01 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0326.html">John Gay: "Re: Getting scanner listed as a device"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0324.html">Bart Szyszka: "Re: Getting scanner listed as a device"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0323.html">Peter Hackenberg: "Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0328.html">Oliver Rauch: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0319.html">Petter Reinholdtsen: "Re: Report on last CVS snapshot"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0328.html">Oliver Rauch: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0341.html">Douglas Gilbert: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#325">[ date ]</A>
<A HREF="index.html#325">[ thread ]</A>
<A HREF="subject.html#325">[ subject ]</A>
<A HREF="author.html#325">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Peter Hackenberg &lt;<A HREF="mailto:phackenberg@aip.de?Subject=Re:%20Permissions%20of%20/dev/sg*%20and%20xsane,%20xscanimage%20(was%20Re:%20Report%20on%20,%20last%20CVS%20snapshot)&In-Reply-To=&lt;200002241610.LAA01127@sparky.home-net&gt;">phackenberg@aip.de</A>&gt; wrote: [ mod my snips ]
<BR>
<EM>&gt; Given that under &quot;regular&quot; conditions, i.e. all scsi devices are
</EM><BR>
<EM>&gt; switched on at boot time, ... and you reboot with the scanner switched
</EM><BR>
<EM>&gt; off, then /dev/sg2 points to the sensitive device.
</EM><BR>
<EM>&gt; ...
</EM><BR>
<EM>&gt; The &quot;obvious&quot; solution to give the &quot;sensitive device&quot; a lower scsi number
</EM><BR>
<EM>&gt; than the scanner is not feasible if that device must have a higher
</EM><BR>
<EM>&gt; priority. It also fails if you dynamically load/delete scsi devices.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I do suggest to eliminate the /dev/scanner symlink business totally,
</EM><BR>
<EM>&gt; because it is not unlikely that it points to the wrong device.
</EM><BR>
<P>The root cause is that SCSI device names are assigned dynamically,
<BR>
which is well understood to be a Bad Thing and will go away at some
<BR>
point. Once scsi device names are based on the host.id.lun, this
<BR>
won't be a problem. Obviously, this doesn't help now.
<BR>
<P>Also, this all goes away if you have the scanner on a separate host
<BR>
adapter, no? It seems like a waste, but there are other advantages in
<BR>
using a separate adapter, and there are inexpensive cards that are
<BR>
fast enough for use with a scanner.
<BR>
<P>&lt;Joe
<BR>
<PRE>
--
Joe Smith
<A HREF="mailto:jes@presto.med.upenn.edu?Subject=Re:%20Permissions%20of%20/dev/sg*%20and%20xsane,%20xscanimage%20(was%20Re:%20Report%20on%20,%20last%20CVS%20snapshot)&In-Reply-To=&lt;200002241610.LAA01127@sparky.home-net&gt;">jes@presto.med.upenn.edu</A>
<P><P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Permissions%20of%20/dev/sg*%20and%20xsane,%20xscanimage%20(was%20Re:%20Report%20on%20,%20last%20CVS%20snapshot)&In-Reply-To=&lt;200002241610.LAA01127@sparky.home-net&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0326.html">John Gay: "Re: Getting scanner listed as a device"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0324.html">Bart Szyszka: "Re: Getting scanner listed as a device"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0323.html">Peter Hackenberg: "Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0328.html">Oliver Rauch: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0319.html">Petter Reinholdtsen: "Re: Report on last CVS snapshot"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0328.html">Oliver Rauch: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0341.html">Douglas Gilbert: "Re: Permissions of /dev/sg* and xsane, xscanimage (was Re: Report on , last CVS snapshot)"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#325">[ date ]</A>
<A HREF="index.html#325">[ thread ]</A>
<A HREF="subject.html#325">[ subject ]</A>
<A HREF="author.html#325">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Thu Feb 24 2000 - 08:27:14 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>