hdparm -U

From: pir aa (pir_at_austromail.at)
Date: 10/14/04

  • Next message: Kirk Strauser: "Re: $50,000 for the Linux kernel!"
    Date: Thu, 14 Oct 2004 18:29:13 +0200
    To: debian-user@lists.debian.org
    
    

    Hi,

    I used the command hdparm -U 1 /dev/hdc1 to unregister the ide1 interface.
    (version 5.7)
    The PC responded with:
    attempting to unregister hwif#1

    But that's it. And as far as I understand the C code, than -U doesn't really
    do antything. I only found:

    if (unregister_hwif) {
            printf(" attempting to unregister hwif#%u\n", hwif);
            if (ioctl(fd, HDIO_UNREGISTER_HWIF, hwif))
                    perror(" HDIO_UNREGISTER_HWIF failed");
    }

    IMHO: hdparm -U only prints one line if successful and that's it. What did I
    miss????

    ---
    Alles Kaufen und Verkaufen! eBay.at - der eigene Marktplatz für Österreich.
    http://www.austronaut.at/ebay.php

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Kirk Strauser: "Re: $50,000 for the Linux kernel!"

    Relevant Pages

    • hdparm -U
      ... attempting to unregister hwif#1 ... do antything. ... eBay.at - der eigene Marktplatz für Österreich. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • RE: Unable to unregister from this group
      ... I'm guessing you're trying to unregister the wrong email address. ... and pay little attention to which account a ... Then unsubscribe that email in particular. ...
      (freebsd-questions)