From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 27 Aug 2007 18:43:40 +0400 From: Alexey Tourbin To: devel@lists.altlinux.org Message-ID: <20070827144340.GW26788@solemn.turbinal> Mail-Followup-To: devel@lists.altlinux.org References: <20070827133350.GV26788@solemn.turbinal> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TXv8ADjWKuT9E31y" Content-Disposition: inline In-Reply-To: <20070827133350.GV26788@solemn.turbinal> Subject: Re: [devel] contents_index replacement [0] X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 14:43:45 -0000 Archived-At: List-Archive: List-Post: --TXv8ADjWKuT9E31y Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 27, 2007 at 05:33:50PM +0400, Alexey Tourbin wrote: > =F1 =D2=C1=DA=CD=D9=DB=CC=D1=CC =CE=C1=C4 =D4=C5=CD, =DE=C5=CD =C2=D9 =DA= =C1=CD=C5=CE=C9=D4=D8 =D0=CF=C9=D3=CB =D0=CF contens_index, > =DE=D4=CF=C2=D9 =CE=C5 =C2=D9=CC=CF =CE=C5=CB=CF=D4=CF=D2=D9=C8 =CE=C5=D0= =D2=C9=D1=D4=CE=D9=C8 =D0=D2=C9=CB=CF=CC=CF=D7 =D3 =D0=CF=C9=D3=CB=CF=CD = =DA=C1=D7=C9=D3=C9=CD=CF=D3=D4=C5=CA. >=20 > =F1 =D3=CE=C1=DE=C1=CC=C1 =C8=CF=D4=C5=CC =D3=C4=C5=CC=C1=D4=D8 =CE=C5=DE= =D4=CF =D0=CF=C8=CF=D6=C5=C5 =CE=C1 rpmdb (=D4=C9=D0=C1 rpmbox), > =DE=D4=CF=C2=D9 =D0=D2=CF=C2=C9=D7=C1=D4=D8 =D0=D5=D4=C9 =D0=CF =C7=CF=CC= =C2=C1=CC=D8=CE=CF=CA =C2=C1=DA=C5 =DE=C5=D2=C5=DA -qf. =F7=CE=C9=CB=CE=D5= =D7, =CF=C4=CE=C1=CB=CF, > =D7 =D3=D5=D4=D8 =C4=C5=CC=C1, =D1 =CF=C2=CE=C1=D2=D5=D6=C9=CC e.g. =D3= =CC=C5=C4=D5=C0=DD=C9=CA =CB=C1=DA=D5=D3: >=20 > $ cd `mktemp -d` > $ ln -s /usr/bin/perl ... > $ rpm -qf ... > perl-base-5.8.8-alt14 > $=20 >=20 > =E4=D5=CD=C1=C0 =D4=C5=D0=C5=D2=D8, =DE=D4=CF rpmdb =D7 =DE=C9=D3=D4=CF= =CD =D7=C9=C4=C5 =C4=CC=D1 =DA=C1=CD=C5=CE=D9 contents_index =CE=C5 > =D0=CF=C4=C8=CF=C4=C9=D4. =EE=D5=D6=CE=C1 =D3=D0=C5=C3=C9=C1=CC=D8=CE=C1= =D1 =D2=C5=C1=CC=C9=DA=C1=C3=C9=D1 =C1=CC=C7=CF=D2=C9=D4=CD=C1 =D4=C9=D0=C1= namei (=C9=CD=C5=C5=D4=D3=D1 > =D7 =D7=C9=C4=D5 http://www.unix.org.ua/bach/glava_28.htm ). =F0=CF=D1=D3=CE=C0 =D3=D5=D4=D8 =D0=D2=CF=C2=CC=C5=CD=D9. =F7 =D0=D5=D4=D1= =C8 =C2=D9=D7=C1=C0=D4 =D3=C9=CD=CC=C9=CE=CB=C9, =CE=C1=D0=D2. /etc/init.d/functions -> /etc/rc.d/init.d/functions =C9=DA-=DA=C1 =D3=C9=CD=CC=C9=CE=CB=C1 /etc/init.d -> rc.d/init.d. =EB=CF=C7=C4=C1 =D7 =D3=CB=D2=C9=D0=D4=C5 =D7=D3=D4=D2=C5=DE=C1=C5=D4=D3=D1= ". /etc/init.d/functions", =D4=CF =D0=CF=C9=D3=CB =D0=CF contents_index =CF=C2=CC=C1=CD=D9=D7=C1=C5=D4= =D3=D1, =D0=CF=D4=CF=CD=D5 =DE=D4=CF =D4=C1=CD =CE=C5=D4 =D7=D3=C5=C8 =D7=CF=DA=CD=CF=D6=CE=D9=C8 =D7=C1=D2=C9=C1=CE=D4=CF= =D7 =D0=D5=D4=C5=CA =D3 =D5=DE=C5=D4=CF=CD =D2=C1=DA=D2=C5=DB=C5=CE=C9=D1 =D3=C9=CD=CC=C9=CE=CB=CF=D7. =EF=C4=CE=C1=CB=CF "rpm -qf /etc/init.d/functions" =C4=C1=C5=D4 =D0=D2=C1= =D7=C9=CC=D8=CE=D9=CA =D2=C5=DA=D5=CC=D8=D4=C1=D4. =F4=E5=ED =EE=E5 =ED=E5=EE=E5=E5, =D0=D2=CF=D7=C5=D2=CB=C1 =DE=C5=D2=C5=DA = rpm -qf =D7 =DA=CE=C1=DE=C9=D4=C5=CC=D8=CE=CF=CA =D3=D4=C5=D0=C5=CE=C9 =D0= =CF=CC=C1=C7=C1=C5=D4=D3=D1 =CE=C1 =D4=CF, =DE=D4=CF =D0=C1=CB=C5=D4 =D5=D6=C5 =D5=D3=D4=C1=CE=CF=D7=CC= =C5=CE, =D4.=C5. =DA=C1=D7=C9=D3=C9=D4 =CF=D4 =D3=CF=D3=D4=CF=D1=CE=C9=D1 = =C6=C1=CA=CC=CF=D7=CF=CA =D3=C9=D3=D4=C5=CD=D9. $ hsh --init = =20 $ hsh-shell --rooter [root@solemn .in]# rpm -qf /etc/init.d/functions service-0.5.14-alt1 [root@solemn .in]# rm -rfv /etc/init.d=20 removed `/etc/init.d' [root@solemn .in]# rpm -qf /etc/init.d/functions error: file /etc/init.d/functions: No such file or directory [root@solemn .in]# rpm -qf /etc/rc.d/init.d/functions service-0.5.14-alt1 [root@solemn .in]# rm -rfv /etc/rc.d/init.d/functions removed `/etc/rc.d/init.d/functions' [root@solemn .in]# rpm -qf /etc/rc.d/init.d/functions service-0.5.14-alt1 [root@solemn .in]# ^D $ =FC=D4=CF =D0=CF=CB=C1=D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=CF =D2=C1=C2=CF=D4=C1=C5=D4 = =CD=CF=D6=CE=CF =D7 +/doLookup rpmdb/fprint.c) --TXv8ADjWKuT9E31y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFG0uMcfBKgtDjnu0YRAu1GAJ9HfQP0zRgJgY14NHY1jAZowE9AoACeOxHB BxZ3A5vyPwkWFBrMCFCOzsc= =Oj9w -----END PGP SIGNATURE----- --TXv8ADjWKuT9E31y--