[Comm] Read/write QNX filesystem image

Eugene Prokopiev enp на altlinux.org
Вт Мар 16 12:39:19 UTC 2010


Здравствуйте!

У меня есть такой файл:

$ file xsu1.iso
xsu1.iso: x86 boot sector; partition 4: ID=0x58, starthead 90,
startsector 246677511, 3277525197 sectors

Утверждают, что в нем находится образ файловой системы QNX и просят
подложить туда пару файлов. У меня получается следующее:

# mount -o loop xsu1.iso /mnt/
# mount | grep mnt
/dev/loop0 on /mnt type vfat (rw)
# ls /mnt/
ls: cannot access /mnt/C 0 SLP
.12/: No such file or directory
ls: cannot access /mnt/      FA.LC: Input/output error
...
?12/15/0.7 0        FA.LC       falc. 0    0 slp?1.2/1
...

С другой стороны:

# fdisk -l xsu1.iso
You must set cylinders.
You can do this from the extra functions menu.

Disk /home/enp/xsu1.iso: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xcd02b4f8

This doesn't look like a partition table
Probably you selected the wrong device.

             Device Boot      Start         End      Blocks   Id  System
/home/enp/xsu1.iso1   ?      241771      492155  2011203583+  75  PC/IX
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(777, 128, 60) logical=(241770, 211, 33)
Partition 1 has different physical/logical endings:
     phys=(711, 13, 12) logical=(224804, 190, 16)
Partition 1 does not end on cylinder boundary.
/home/enp/xsu1.iso2   ?        1827      122006   965338752   3f  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(944, 235, 38) logical=(1826, 144, 32)
Partition 2 has different physical/logical endings:
     phys=(0, 232, 30) logical=(122005, 174, 10)
Partition 2 does not end on cylinder boundary.
/home/enp/xsu1.iso3   ?      208385      214554    49551192   c2  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1014, 114, 62) logical=(208384, 220, 13)
Partition 3 has different physical/logical endings:
     phys=(260, 128, 53) logical=(214553, 178, 57)
Partition 3 does not end on cylinder boundary.
/home/enp/xsu1.iso4           15355      219372  1638762598+  58  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(347, 90, 25) logical=(15354, 246, 4)
Partition 4 has different physical/logical endings:
     phys=(443, 195, 19) logical=(219371, 120, 33)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Может я чего делаю не так и можно хотя бы прочитать содержимое?

-- 
С уважением,
Прокопьев Евгений


Подробная информация о списке рассылки community