kopia lustrzana https://gitlab.com/sane-project/website
121 wiersze
6.4 KiB
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=<200002241610.LAA01127@sparky.home-net>"><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 <<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=<200002241610.LAA01127@sparky.home-net>">phackenberg@aip.de</A>> wrote: [ mod my snips ]
|
|
<BR>
|
|
<EM>> Given that under "regular" conditions, i.e. all scsi devices are
|
|
</EM><BR>
|
|
<EM>> switched on at boot time, ... and you reboot with the scanner switched
|
|
</EM><BR>
|
|
<EM>> off, then /dev/sg2 points to the sensitive device.
|
|
</EM><BR>
|
|
<EM>> ...
|
|
</EM><BR>
|
|
<EM>> The "obvious" solution to give the "sensitive device" a lower scsi number
|
|
</EM><BR>
|
|
<EM>> than the scanner is not feasible if that device must have a higher
|
|
</EM><BR>
|
|
<EM>> priority. It also fails if you dynamically load/delete scsi devices.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I do suggest to eliminate the /dev/scanner symlink business totally,
|
|
</EM><BR>
|
|
<EM>> 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><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=<200002241610.LAA01127@sparky.home-net>">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=<200002241610.LAA01127@sparky.home-net>">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>
|