1. Sep 04, 2012
  2. Aug 29, 2012
  3. Aug 27, 2012
  4. Aug 24, 2012
  5. Aug 15, 2012
  6. Aug 14, 2012
    • B Watson's avatar
      column: --separator segfaults · 43f8915c
      B Watson authored
      
      The --separator and --columns long options in util-linux-2.21.2 and in
      a git clone from 5 minutes ago, don't work:
      
      $ echo foobar | column -s x
      foobar
      
      $ echo foobar | column -c 10
      foobar
      
      $ echo foobar | column --separator=x
      column: option '--separator' doesn't allow an argument
      
      $ echo foobar | column --separator x
      Segmentation fault
      
      $ echo foobar | column --columns 10
      column: bad columns width value: '(null)': Invalid argument
      
      $ echo foobar | column --columns=10
      column: option '--columns' doesn't allow an argument
      
      Looks like a simple case of missing has_arg flag in the "struct
      option" initialization for these two options. The patch just adds the
      flag. I haven't done thorough testing of the patched code, but it
      seems to work OK and it no longer segfaults or tries to dereference a
      null pointer.
      
      Signed-off-by: default avatarKarel Zak <kzak@redhat.com>
      43f8915c
    • Bernhard Voelker's avatar
    • Karel Zak's avatar
      lsblk: add WWN, improve udev support · 88ca32b3
      Karel Zak authored
      
       * read WWN from udev DB
      
       * use *_ENC properties from udev DB to get original unmodified
         strings (otherwise for example blank space is replaced with '_' in
         ID_FS_LABEL)
      
       * always read from udev, libblkid is fallback solution only
      
      Signed-off-by: default avatarKarel Zak <kzak@redhat.com>
      88ca32b3
    • Karel Zak's avatar
      resizepart: remove debug message · 8651b6a7
      Karel Zak authored
      
      Signed-off-by: default avatarKarel Zak <kzak@redhat.com>
      8651b6a7
  7. Aug 13, 2012