Re: Patch for sysinstall wrong-disc problem

From: Doug White (dwhite_at_gumbysoft.com)
Date: 06/29/05

  • Next message: Doug White: "Re: Patch for sysinstall wrong-disc problem"
    Date: Tue, 28 Jun 2005 23:10:34 -0700 (PDT)
    To: John Baldwin <jhb@FreeBSD.org>
    
    

    On Mon, 27 Jun 2005, John Baldwin wrote:

    > On Saturday 18 June 2005 08:33 pm, Doug White wrote:
    > > Hey folks,
    > >
    > > I've come up with a patch that fixes sysinstall prompting for the wrong CD
    > > when trying to install packages from non-CDROM media. Patch is here:
    > >
    > > http://people.freebsd.org/~dwhite/patches/index.c.20050618.patch
    > >
    > > This makes the "This is disc#0; I need disc#1" type message go away by
    > > checking if the install media is a CDROM first. Tested with an install
    > > over NFS, but it shouldn't make a difference what install media as long as
    > > its not a CD.
    > >
    > > I'll commit this shortly if there are no objections.
    >
    > Just a suggestion: it might be a shorter patch with no need to reindent a
    > bunch of code if you change the patch to just add
    >
    > if (mediaDevice->type != DEVICE_TYPE_CDROM)
    > return (DITEM_FAILURE);
    >
    > before the while loop.

    That'd be wrong; I'm only trying to skip the logic that does the CDROM
    frobbing. I need the rest of the function so it loads the package :)

    Thanks for reminding me to commit this though :)

    -- 
    Doug White                    |  FreeBSD: The Power to Serve
    dwhite@gumbysoft.com          |  www.FreeBSD.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Doug White: "Re: Patch for sysinstall wrong-disc problem"

    Relevant Pages

    • Re: Patch for sysinstall wrong-disc problem
      ... >> I've come up with a patch that fixes sysinstall prompting for the wrong CD ... >> checking if the install media is a CDROM first. ... >> I'll commit this shortly if there are no objections. ...
      (freebsd-current)
    • Re: Patch for sysinstall wrong-disc problem
      ... > I've come up with a patch that fixes sysinstall prompting for the wrong CD ... > checking if the install media is a CDROM first. ...
      (freebsd-current)
    • Re: Patch for sysinstall wrong-disc problem
      ... > I've come up with a patch that fixes sysinstall prompting for the wrong CD ... > checking if the install media is a CDROM first. ...
      (freebsd-current)
    • Re: [GIT PATCH] another tranche of SCSI updates for 2.6.26
      ... commit 064922a805ec7aadfafdd27aa6b4908d737c3c1d ... This patch adds more const keywords where appropriate. ... fix SLUB WARN_ON ... KVM: SVM: remove now obsolete FIXME comment ...
      (Linux-Kernel)
    • Re: Linux 2.6.21-rc6
      ... [PATCH] ... Change code ordering in disk.c ... The changes here only affect the built-in swsusp. ... the remaining test is to try reverting this commit from -rc6. ...
      (Linux-Kernel)