> > Since self.device is a full path this will never work -- just pass > > self.device's basename. > > If I were less lazy, I'd attach a screenshot here showing you that it > did, in fact, work. By which I mean: clumens@exeter:~/src$ sudo PATH=/sbin:/usr/sbin:/bin:/usr/bin ipython ... In [2]: import pyanaconda.anaconda_log In [3]: pyanaconda.anaconda_log.init() In [4]: from pyanaconda.storage.devicelibs.dm import dm_node_from_name In [5]: dm_node_from_name("/dev/mapper/VolGroup00-LogVol00") Out[5]: 'dm-0' - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list