different ID_FS_TYPE in 'same' usb drives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:

I have two 'same' usb drives (the 'same' means same model from same brand). And I use each one for running anaconda, but have different results. One is everything ok, but another must failed at the step:

The installation source given by device %s "
"could not be found. Please check your "
"parameters and try again."
I have looked a lot of codes, and finally find that the ID_FS_TYPE of those usb drives are different.

The unexpected case is here:

DeviceTree.addUdevDevice: info: {'ID_VENDOR_ID': '0781', 'ID_PART_TABLE_TYPE': 'dos', 'ID_USB_INTERFACE_NUM': '00', 'ID_REVISION': '1.26', 'LVM_SBIN_PATH': '/usr/sbin', 'ID_VENDOR_ENC': 'SanDisk\\x20', 'ID_PATH': 'pci-0000:00:1d.7-usb-0:5.1:1.0-scsi-0:0:0:0', 'ID_MODEL_ID': '5567', 'ANACBIN': '/usr/sbin', 'ID_VENDOR': 'SanDisk', 'ID_FS_LABEL_ENC': 'Ubuntu-Server\\x2012.04.2\\x20LTS\\x20i386', 'ID_SERIAL': 'SanDisk_Cruzer_Blade_4C532000000613115504-0:0', 'DEVTYPE': 'disk', 'MINOR': '16', 'MPATH_SBIN_PATH': '/usr/sbin', 'ID_FS_TYPE': 'iso9660', 'DEVLINKS': '/dev/block/8:16 /dev/disk/by-id/usb-SanDisk_Cruzer_Blade_4C532000000613115504-0:0 /dev/disk/by-path/pci-0000:00:1d.7-usb-0:5.1:1.0-scsi-0:0:0:0 /dev/disk/by-label/Ubuntu-Server\\x2012.04.2\\x20LTS\\x20i386 /dev/disk/by-id/edd-int13_dev80', 'SUBSYSTEM': 'block', 'ID_MODEL': 'Cruzer_Blade', 'ID_SERIAL_SHORT': '4C532000000613115504', 'ID_USB_INTERFACES': ':080650:', 'ID_INSTANCE': '0:0', 'sysfs_path': '/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.1/1-5.1:1.0/host2/target2:0:0/2:0:0:0/block/sdb', 'ID_FS_LABEL': 'Ubuntu-Server_12.04.2_LTS_i386', 'ID_FS_USAGE': 'filesystem', 'ID_TYPE': 'disk', 'ID_BUS': 'usb', 'name': 'sdb', 'symlinks': ['/dev/block/8:16', '/dev/disk/by-id/usb-SanDisk_Cruzer_Blade_4C532000000613115504-0:0', '/dev/disk/by-path/pci-0000:00:1d.7-usb-0:5.1:1.0-scsi-0:0:0:0', '/dev/disk/by-label/Ubuntu-Server\\x2012.04.2\\x20LTS\\x20i386', '/dev/disk/by-id/edd-int13_dev80'], 'MAJOR': '8', 'ID_EDD': 'int13_dev80', 'DEVPATH': '/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5.1/1-5.1:1.0/host2/target2:0:0/2:0:0:0/block/sdb', 'UDEV_LOG': '3', 'DEVNAME': 'sdb', 'ID_MODEL_ENC': 'Cruzer\\x20Blade\\x20\\x20\\x20\\x20', 'ID_USB_DRIVER': 'usb-storage'} ; name: sdb ;

In this case, that usb's device instance in anaconda is Iso9660FS, which 'self.format.type' is iso9660. And then here return False. And in devicetree.devices only didn't contain my usb drive (because devicetress.devices are all partitionable devices in codes, my usb drive in usb case have been looked as False)

Ok, all of reasons are from ID_FS_TYPE. This value is from a C lib, and I have no experience on C programming. Could I get some hints?



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux