From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 4 Jul 2014 22:21:22 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20140704182122.GA12144@altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20140704170958.GA11861@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] =?koi8-r?b?8M/Nz8fJ1MUg0sHaz8LSwdTY09Eg0yDQwcvF1MnSz9fB?= =?koi8-r?b?zsnFzQ==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2014 18:21:23 -0000 Archived-At: List-Archive: List-Post: --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 05, 2014 at 01:39:27AM +0800, =E5=D7=C7=C5=CE=C9=CA =F4=C5=D2= =C5=DB=CB=CF=D7 wrote: > "Dmitry V. Levin" =D0=C9=DB=C5=D4: >=20 > > =FC=D4=CF=D4 /var/lib/vz/vz =CF=C2=D2=C1=DA=CF=D7=C1=CC=D3=D1 =D7 =D2= =C5=DA=D5=CC=D8=D4=C1=D4=C5 =CE=C5=D0=D2=C1=D7=C9=CC=D8=CE=CF=C7=CF =C9=D3= =D0=CF=CC=D8=DA=CF=D7=C1=CE=C9=D1 ln(1). >=20 > =F5=C7=D5. >=20 > >> =F1 =D0=D2=CF=DE=C9=D4=C1=CC test(1) =CE=C1 =D0=D2=C5=C4=CD=C5=D4 =CB= =CC=C0=DE=C1 "-a" =C9 =D0=CF=D0=D2=C1=D7=C9=CC =D3=D0=C5=CB =D4=C1=CB (4.7.= 2-alt2, > >> 4d6158e018a87fb68d1ca846443fef0b8e28a48d): > >> =3D=3D=3D8<=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> %post > >> # Some use /vz instead of /var/lib/vz; create a compatibility symlink > >> test -e /vz || ln -s /var/lib/vz / > >>=20 > >> %preun > >> test -L /vz && rm -f /vz > >> =3D=3D=3D8<=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > =F4=CF=CC=D8=CB=CF =D3=C5=CA=DE=C1=D3 =DA=C1=CD=C5=D4=C9=CC, =DE=D4=CF = =D7 =CF=D2=C9=C7=C9=CE=C1=CC=D8=CE=CF=CD ovz-=DB=CE=CF=CD =D3=D0=C5=CB=C5 v= zctl =D4=CF=D6=C5 =D7=C5=DA=C4=C5 > "test -a". =EE=C5=D5=D6=C5=CC=C9 =D5 =CE=C9=C8 =CB=C1=CB=CF=CA-=D4=CF =D3= =D7=CF=CA test? =EE=C5=D4, test (=DE=D4=CF builtin, =DE=D4=CF =D7 coreutils) =D7 =CF=D4=CE= =CF=DB=C5=CE=C9=C9 -a/-e, =D3=CB=CF=D2=C5=C5 =D7=D3=C5=C7=CF, =D7=C5=DA=C4=C5 =CF=C4=C9=CE=C1=CB=CF=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=C1=CD= =C9, =D3=C4=C5=CC=C1=CE=CE=D9=CD=C9 =C4=CF openvz, =CE=C9=CB=CF=C7=C4=C1 = =CE=C5 =C2=D9=CC=CF. --=20 ldv --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlO28KIACgkQfKvmrJ41Nh6nsgCgwnjNqUP+NpCybQzfOh0kgKuI fNcAniNFxFV/sttBUudtoaCmeDtawawq =j9CP -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--