From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Date: Tue, 25 Nov 2008 21:56:22 +0500 From: Andrey Rahmatullin To: sisyphus@lists.altlinux.org Message-ID: <20081125165622.GA5778@wrars-comp.wrarsdomain> References: <20081124095053.GA26431@ricom.ru> <200811251601.43056.shrek@altlinux.ru> <20081125130752.GE17836@ricom.ru> <200811251623.55075.shrek@altlinux.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <200811251623.55075.shrek@altlinux.ru> X-Operating-System: ALT Linux Sisyphus X-Jabber-Id: wrar@altlinux.org User-Agent: Mutt/1.5.18 (2008-10-30) Subject: Re: [sisyphus] /dev/sg* permissions X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 16:56:27 -0000 Archived-At: List-Archive: List-Post: --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 25, 2008 at 04:23:54PM +0300, Valery V. Inozemtsev wrote: > oops... =D3=CF=D7=D2=C1=CC. =D4=C1=CD =C7=C4=C5 =D7=C9=D3=C9=D4 cdrom =D0= =D2=C1=D7=C1 =CE=C1 /dev/sgX =C4=CF=CC=D6=CE=D9 =C2=D9=D4=D8 root:cdrom 066= 0, =CF=D0=D2=C5=C4=C5=CC=D1=C5=D4=D3=D1 =D4=C1=CB > $ for d in /dev/sg[0-9]; do TYPE=3D$(cat $(hal-get-property --udi $(hal-f= ind-by-property --key linux.device_file --string $d) --key=20 > linux.sysfs_path)/device/type); if [ $TYPE =3D 4 -o $TYPE =3D 5 ]; then e= cho $d; fi; done $ for d in /dev/sg[0-9]; do TYPE=3D$(cat $(hal-get-property --udi $(hal-find-by-property --key linux.device_file --string $d) --key linux.sysfs_path)/device/type); if [ $TYPE =3D 4 -o $TYPE =3D 5 ]; then echo $d; fi; done /dev/sg2 $ l /dev/sg* crw-r----- 1 root disk 21, 2 =EE=CF=D1 25 15:59 /dev/sg2 crw-r----- 1 root disk 21, 1 =EE=CF=D1 25 15:59 /dev/sg1 crw-r----- 1 root disk 21, 0 =EE=CF=D1 25 15:59 /dev/sg0 =EF=CE=CF =CD=CE=C5 =CE=C5 =CD=C5=DB=C1=C5=D4, =D0=D2=C1=D7=C4=C1. --=20 WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(8): combr: =C1, =CB=D3=D4=C1=D4=C9, =DE=D4=CF =DA=C1=D3=D4=C1=D7=CC= =D1=C5=D4 =CC=C0=C4=C5=CA =D7 2005 =C7=CF=C4=D5 =C9=D3=D0=CF=CC=D8=DA=CF=D7= =C1=D4=D8 Window Maker ? AMorozov: =C1 =DE=D4=CF, =C9=CD =D3=D4=EF=C9=D4 =D0=D2=CF=C4=CF=CC= =D6=C9=D4=D8 =C9=D3=D0=CF=CC=D8=DA=CF=D7=C1=D4=D8 twm ? ;) combr: =CE=C5=D4. KDE - =D2=C5=DB=C5=CE=D8=C5 =D7=D3=C5=C8 =D0= =D2=CF=C2=CC=C5=CD. =F1 =D3=C5=D2=D8=C5=DA=CE=CF. AMorozov: =D3=D4=D2=C1=CE=CE=CF. =D1 =C9=D3=D0=CF=CC=D8=DA=D5=C0 wi= ndowmaker =C9 =CE=C5 =DA=C1=CD=C5=DE=C1=C0 =D0=D2=CF=C2=CC=C5=CD ;) =CE=C1=D7=C5=D2=CE=CF, =D1 =C4=C5=CC=C1=C0 =DE=D4=CF-=D4=CF =CE=C5 = =D4=C1=CB combr: =CE=C5=D4, =CB=CF=CE=C5=DE=CE=CF, =C9=CE=CF=C7=C4=C1 =C8= =CF=DE=C5=D4=D3=D1 =C9=D3=D0=D9=D4=C1=D4=D8 =D0=D2=C9=D3=D4=D5=D0 =DC=CD=CF= =C3=C9=CF=CE=C1=CC=D8=CE=CF=C7=CF =CF=D2=C7=C1=DA=CD=C1, =C9 =D4=CF=C7=C4=C1 =CE=C1=C4=CF =DA=C1= =D0=D5=D3=D4=C9=D4=D8 E17, =CE=CF =D2=C1=C2=CF=D4=C1=D4=D8 =D7 =CF=CE=CF=CD= =D7=D3=C5 =D2=C1=D7=CE=CF =CE=C5=D7=CF=DA=CD=CF=D6=CE=CF. --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkksLjEACgkQB4Vf7hFmt5U82ACgmNqt+lfjKJJb7+sBqa/4t88u fXQAoLVGQ61oJ0ay6V8HC41+9fVKYTps =9aGe -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--