From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 21 Oct 2004 20:10:50 +0300 From: Alex Yustasov To: ALT Linux kernel packages development Subject: Re: [d-kernel] std26-up-2.6.9 Message-ID: <20041021171050.GA6966@server.by> Mail-Followup-To: Alex Yustasov , ALT Linux kernel packages development References: <417664F4.9020303@altlinux.com> <20041021132311.GA21163@server.by> <20041021161441.GE9076@wrars-comp.wrarsdomain> <20041021170316.GC5940@server.by> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20041021170316.GC5940@server.by> User-Agent: Mutt/1.5.6+cvs20040623i Content-Transfer-Encoding: quoted-printable X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-BeenThere: devel-kernel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 17:12:22 -0000 Archived-At: List-Archive: List-Post: On Thu, Oct 21, 2004 at 08:03:16PM +0300, Alex Yustasov wrote: > On Thu, Oct 21, 2004 at 10:14:41PM +0600, Andrey Rahmatullin wrote: > > On Thu, Oct 21, 2004 at 04:23:11PM +0300, Alex Yustasov wrote: > > > =E4=CC=D1 2.6 =D7 initrd =CE=D5=D6=C5=CE=C1 =C4=C9=D2=C5=CB=D4=CF=D2= =C9=D1 /sys.=20 > > =E4=CC=D1 =DE=C5=C7=CF? > =F0=D2=CF=D3=D4=C9=D4=C5. =F1 =D0=D2=CF =D0=CF=D3=CC=C5=C4=CE=C9=C5 sws= usp2. > =F4=C1=CD =D0=D2=C9 =D0=C5=D2=C5=D7=CF=C4=C5 =C9=DA /dev/hdaN =D7 dev, = =D4.=C5. =C6=D5=CE=CB=C3=C9=D1 name_to_dev_t > =D7 /init/do_mounts.c, =C9=D3=D0=CF=CC=D8=DA=D5=C5=D4=D3=D1 /sys. =E1 =D5= =CE=C1=D3 =DC=D4=CF =D0=D2=CF=C9=D3=C8=CF=C4=C9=D4=20 > =D0=CF=D3=CC=C5 =CD=CF=CE=D4=C9=D2=CF=D7=C1=CE=C9=D1 initrd =CB=C1=CB r= ead only.=20 =FC=D4=CF =CB=D5=D3=CF=CB =C9=DA do_mounts.c dev_t name_to_dev_t(char *name) { char s[32]; char *p; dev_t res =3D 0; int part, mount_result; #ifdef CONFIG_SYSFS sys_mkdir("/sys", 0700); /*=20 * When changing resume2 parameter for Software Suspend, sysfs may * already be mounted.=20 */ mount_result =3D sys_mount("sysfs", "/sys", "sysfs", 0, NULL); =F4=D5=D4= =CF=CE=CF =D7=D9=D7=C1=CC=C9=D7=C1=C5=D4=D3=D1 =D3 -30 if (mount_result < 0 && mount_result !=3D -EBUSY) goto out; #endif