From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 2 Aug 2005 11:04:21 +0400 From: Alexey Tourbin To: ALT Devel discussion list Message-ID: <20050802070421.GB13478@solemn.turbinal.org> Mail-Followup-To: ALT Devel discussion list References: <20050723233241.GA23302@nomad.office.altlinux.org> <20050801020408.GI13478@solemn.turbinal.org> <20050801124739.GA2637@basalt.office.altlinux.org> <20050801191036.GS13478@solemn.turbinal.org> <20050801191909.GT13478@solemn.turbinal.org> <20050801210659.GA12068@localhost.localdomain> <20050801212039.GU13478@solemn.turbinal.org> <20050801213620.GA11116@lks.home> <20050802052910.GA13478@solemn.turbinal.org> <20050802060652.GP18893@osdn.org.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k/A+UfywgnnvevLW" Content-Disposition: inline In-Reply-To: <20050802060652.GP18893@osdn.org.ua> Subject: [devel] vserver, hasher, uml... X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 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: Tue, 02 Aug 2005 07:05:39 -0000 Archived-At: List-Archive: List-Post: --k/A+UfywgnnvevLW Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 02, 2005 at 09:06:52AM +0300, Michael Shigorin wrote: > On Tue, Aug 02, 2005 at 09:29:10AM +0400, Alexey Tourbin wrote: > > > > =EF=C4=CE=CF =C9=DA =D0=D2=C5=C9=CD=D5=DD=C5=D3=D4=D7 hasher -- =D7= =D4=CF=CD, =DE=D4=CF =DC=D4=CF =D7=D3=A3 =D7 =D0=D2=C5=C4=C5=CC=C1=C8 > > > > POSIX API. > > > =D7 vserver =D4=CF=D6=C5 =D7=D3=C5 =D7 =D0=D2=C5=C4=C5=CC=C1=C8 POSIX= API (=C5=D3=CC=C9 =D1 =D0=D2=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=D4=CF=CD (=CE=C1=D0=D2=C9=CD=C5=D2, =D7 =DE=C1=D3=D4=C9 =C9=DA=CD=C5=CE=C5=CE=C9=D1 = ownership =D5 =C6=C1=CA=CC=CF=D7 =D7 =D3=D2=C5=C4=C5). =F5 =C8=C5=DB=C5=D2=C1 =D3 =DC=D4=C9=CD =CE=C9=CB=C1=CB, ${USER}_a =CE=C1 = =D3=C1=CD=CF=CD =C4=C5=CC=C5 =C2=C5=D3=D0=D2=C1=D7=C5=CE =C4=C1=D6=C5 =D0=CF =CF=D4=CE=CF=DB=C5=CE=C9=C0 =CB ${USER}_b, =D0=D2=CF=D3=D4=CF =C9=D3=D0=CF= =CC=D8=DA=D5=C5=D4=D3=D1 fakeroot. =F0=D2=C9=CD=C5=D2: $ hsh-run --rooter ~/build chgrp builder /var/cache/apt $ hsh-run --rooter ~/build -- ls -dl /var/cache/apt drwxrws--- 3 root root 72 Aug 2 10:49 /var/cache/apt $ hsh-run --save-fakeroot --rooter ~/build chgrp builder /var/cache/apt fakeroot: database file `/.fakedata' does not exist. $ touch ~/build/chroot/.fakedata $ hsh-run --save-fakeroot --rooter ~/build chgrp builder /var/cache/apt $ hsh-run --save-fakeroot --rooter ~/build -- ls -dl /var/cache/apt drwxrws--- 3 root root 72 Aug 2 10:49 /var/cache/apt $ =F4=CF =C5=D3=D4=D8 =CE=C9=CB=C1=CB. (=F7 =DC=D4=CF=CD =D0=D2=C9=CD=C5=D2= =C5 =D1 =C8=CF=DE=D5 =CF=D4=C4=C1=D4=D8 =CB=C1=D4=C1=CC=CF=C7 /var/cache/apt =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=C0 builder, =DE=D4=CF=C2=D9 =CF=CE =D3=CD= =CF=C7 =D3=C4=C5=CC=C1=D4=D8 "apt-get source"). =F7 vserver =C9 UML =D3 =DC=D4=C9=CD, =D0=CF=C8=CF=D6=C5, =D0=D2=CF=C2=CC= =C5=CD =CE=C5=D4; =CE=CF =DC=D4=CF =D7=C9=D2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Cgqemx PchVAP86h/Afi+8Kat0WrEw= =RuM9 -----END PGP SIGNATURE----- --k/A+UfywgnnvevLW--