Re: [Patch 3/6] dm: decimal device num sscanf

From: Christophe Saout (christophe_at_saout.de)
Date: 07/31/03

  • Next message: Pavel Machek: "Re: [linux-usb-devel] Re: OHCI problems with suspend/resume"
    To: Joe Thornber <thornber@sistina.com>
    Date:	31 Jul 2003 18:13:51 +0200
    
    

    Am Do, 2003-07-31 um 17.13 schrieb Joe Thornber:

    > On Thu, Jul 31, 2003 at 04:04:30PM +0100, Christoph Hellwig wrote:
    > > On Thu, Jul 31, 2003 at 11:49:53AM +0100, Joe Thornber wrote:
    > > > The 2.4 version of Device-Mapper scans for device-numbers in decimal
    > > > instead of hex (in dm_get_device()). Update 2.6 so both versions use
    > > > the same behavior. [Kevin Corry]
    > >
    > > This code should just go away completly. There's no excuse for parsing
    > > a dev_t in new code instead of a pathname.
    >
    > It's in there to match the output from 'dmsetup table'. I'm not sure
    > anyone uses it, but I'd still like to keep it so that 2.4 and 2.6 stay
    > in sync.

    The output from dmsetup table looks different in 2.6 anyway (at least on
    my system?), something like: 0 12582912 linear hda7 384

    When you have a target that uses another device-mapper device it says
    something like dm-5. dmsetup load doesn't like that one.

    (BTW: Before 2.5.69 it looked like ide0(3, 7) or something, I don't
    remember exactly. My lilo-devmapper patch tries to parse all three
    formats, and also fails on things like dm-5...)

    --
    Christophe Saout <christophe@saout.de>
    Please avoid sending me Word or PowerPoint attachments.
    See http://www.fsf.org/philosophy/no-word-attachments.html
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Pavel Machek: "Re: [linux-usb-devel] Re: OHCI problems with suspend/resume"

    Relevant Pages

    • Re: [Patch 3/6] dm: decimal device num sscanf
      ... There's no excuse for parsing ... > It's in there to match the output from 'dmsetup table'. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • dm-crypt crypt_status reports key?
      ... interrogated to report the current key. ... # dmsetup table /dev/mapper/volume1 ... it seems this facility exists to support some form of ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: processes hung in D (raid5/dm/ext3)
      ... Can you confirm that you're not running *any* LVM or device-mapper ... And dump the static device-mapper state, ... dmsetup -v table ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Windows Logical Disk Manager error
      ... > Good news, ... > # dmsetup create test ... Linux NTFS maintainer / IRC: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: ataraid in 2.6.?
      ... den 29.12.2003 schrieb Nicklas Bondesson um 23:18: ... > Promise TX2000 card. ... you can go with dmsetup and choose any name you want (see the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)