From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 16 Feb 2007 12:53:54 +0300 From: =?koi8-r?B?5MXOydMg883J0s7P1w==?= To: ALT Devel discussion list Message-ID: <20070216095354.GB10280@mw.local.seiros.ru> References: <3f60a830702142111t207172d8ya4a3ecaa5c0a7ccb@mail.gmail.com> <45D41957.5030800@altlinux.org> <3f60a830702151415u49aa3b0ftad46b00df61c7195@mail.gmail.com> <20070215223118.GE22046@basalt.office.altlinux.org> <3f60a830702151523v4b8493a3n82f1f3cda0142782@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: <3f60a830702151523v4b8493a3n82f1f3cda0142782@mail.gmail.com> Subject: Re: [devel] =?koi8-r?b?aGFzaGVyIMkg0MHLxdQgZGV2Lg==?= 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: Fri, 16 Feb 2007 09:54:01 -0000 Archived-At: List-Archive: List-Post: --eAbsdosE1cNLO4uF Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 16, 2007 at 11:23:47AM +1200, Alexey Borovskoy wrote: AB> =F5 =CD=C5=CE=D1 livecd =CE=C5=D3=C5=D4 =D7 =D3=C5=C2=C5 =D4=C1=D2=C2= =CF=CC =CD=C9=CE=C9=CD=C1=CC=D8=CE=CF=CA =D3=C9=D3=D4=C5=CD=D9. =F0=CF=D4= =CF=CD =D4=C1=D2=C2=CF=CC AB> =D2=C1=DA=D7=CF=D2=C1=DE=C9=D7=C1=C5=D4=D3=D1 =CE=C1 =C3=C5=CC=C5=D7=D5= =C0 =D3=C9=D3=D4=C5=CD=D5, =C4=C5=CC=C1=C5=D4=D3=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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# PREFIX=3D$1 set +e T=3D`mktemp /tmp/mk_devices.XXXXXX` for s in `ls -1 /sys/block`; do echo -n "/bin/mknod $PREFIX/dev/$s b " >> $T cat /sys/block/$s/dev | sed 's/:/ /' >> $T for part in `ls -1 /sys/block/$s | grep ^$s`; do echo -n "/bin/mknod $PREFIX/dev/$part b " >> $T cat /sys/block/$s/$part/dev | sed 's/:/ /' >> $T done done #=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=3D=3D=3D=3D=3D= =3D=3D=3D# # Create misc devices = # #=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=3D=3D=3D=3D=3D= =3D=3D=3D# mkdir -p $PREFIX/dev/cpu/0 mknod $PREFIX/dev/cpu/0/msr c 202 0 2> /dev/null # for internet access via ppp mknod $PREFIX/dev/ppp c 108 0 2> /dev/null # create tty devices mknod $PREFIX/dev/ptmx c 5 2 2> /dev/null mknod $PREFIX/dev/console c 5 1 2> /dev/null mknod $PREFIX/dev/tty c 5 0 2> /dev/null for s in 1 2 3 4 5 6 7 8; do mknod $PREFIX/dev/tty$s c 4 $s 2> /dev/null done /bin/sh $T 2>&1 | grep -v 'File exists' rm -f $T --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E4=C5=CE=C9=D3 http://freesource.info ---------------------------------------------------------------------------- =F3=C9=DA=C9=C6 =CF=CE =C9 =C5=D3=D4=D8 =F3=C9=DA=C9=C6. =F7=C5=DE=CE=CF = =DE=C5=C7=CF-=CE=C9=C2=D5=C4=D8 =CE=C5 =D0=D2=C5=C4=D5=D3=CD=CF=D4=D2=C9=DB= =D8 ;) -- inger in sisyphus@ --eAbsdosE1cNLO4uF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF1X8yPuR8c4jhFKIRAmTXAKCwkWZgMStPoRvgsl4aizfbpjeIjgCfbzmn 5K/BlcvAuAMbWy6Xy+MphEE= =+BOd -----END PGP SIGNATURE----- --eAbsdosE1cNLO4uF--