[Bug 1197796] Re: g_udev_client_query_by_device_number fails on btrfs disks

Martin Pitt martin.pitt at ubuntu.com
Mon Jul 15 05:18:28 UTC 2013


** Changed in: systemd (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1197796

Title:
  g_udev_client_query_by_device_number fails on btrfs disks

Status in systemd:
  Invalid
Status in “systemd” package in Ubuntu:
  Won't Fix

Bug description:
  g_udev_client_query_by_device_number works on files that are on
  regular filesystems but fails on btrfs volumes.

  To replicate, download the attached source file.

  Compile it: gcc -Wall -o idnum idnum.c `pkg-config --cflags --libs
  glib-2.0 gio-2.0 gudev-1.0`

  This happens on ext4:

  ./idnum
  Device id is 2065.

  This happens on btrfs:

  ./idnum
  Device id is 25.
  Could not get device from num.

  The file layout is the default as provided by the ubuntu installer.
  That is, the volume has two subvolumes called @ and @home.

  Filed against systemd package, because that's where ubuntu-bug
  forwarded me.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: libgudev-1.0-0 1:198-0ubuntu11.1
  ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
  Uname: Linux 3.8.0-26-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.2
  Architecture: amd64
  Date: Thu Jul  4 15:34:20 2013
  InstallationDate: Installed on 2013-05-20 (45 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1197796/+subscriptions




More information about the foundations-bugs mailing list