All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stas Sergeev <stssppnn@yahoo.com>
To: linux-msdos@vger.kernel.org
Subject: Re: unable to boot as user
Date: Fri, 14 Jun 2002 23:25:50 +0400	[thread overview]
Message-ID: <3D0A433E.2050503@yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

Hello.

> At last I was able to track down the problem. It turned out to be that
> one should have the real floppy accessible in order to boot from the
> image. In my case, ordinary users have no access to /dev/fd0.
> I suggest the change below.
Your patch doesn't seem to attack
the root of the problem:)
Does the attached patch fixes this?

[-- Attachment #2: floppy.diff --]
[-- Type: text/plain, Size: 451 bytes --]

--- src/base/misc/disks.c	Tue Mar 19 00:58:12 2002
+++ src/base/misc/disks.c	Fri Jun 14 23:17:10 2002
@@ -1011,10 +1011,9 @@
   int checkdp_val;
 
   disk = LO(dx);
-  if (disk < FDISKS) {
-    if (!disk && use_bootdisk)
-      dp = &bootdisk;
-    else
+  if (!disk && use_bootdisk)
+    dp = &bootdisk;
+  else if (disk < FDISKS) {
       dp = &disktab[disk];
     switch (HI(ax)) {
       #define DISKETTE_MOTOR_TIMEOUT (*((unsigned char *)0x440))

             reply	other threads:[~2002-06-14 19:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-14 19:25 Stas Sergeev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-16 21:51 unable to boot as user Stas Sergeev
2002-06-17 10:44 ` Baurjan Ismagulov
2002-06-17 13:04   ` Bart Oldeman
2002-06-17 13:43     ` Baurjan Ismagulov
2002-06-16 16:02 Baurjan Ismagulov
2002-06-14 14:21 Baurjan Ismagulov
2002-06-14 17:14 ` Baurjan Ismagulov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D0A433E.2050503@yahoo.com \
    --to=stssppnn@yahoo.com \
    --cc=linux-msdos@vger.kernel.org \
    --cc=stas.orel@mailcity.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.