ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Read/write QNX filesystem image
@ 2010-03-16 12:39 Eugene Prokopiev
  2010-03-17  6:16 ` Evgeny Yugov
  0 siblings, 1 reply; 6+ messages in thread
From: Eugene Prokopiev @ 2010-03-16 12:39 UTC (permalink / raw)
  To: ALT Linux Community general discussions

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

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

$ 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

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

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Read/write QNX filesystem image
  2010-03-16 12:39 [Comm] Read/write QNX filesystem image Eugene Prokopiev
@ 2010-03-17  6:16 ` Evgeny Yugov
  2010-03-17  6:53   ` Eugene Prokopiev
  0 siblings, 1 reply; 6+ messages in thread
From: Evgeny Yugov @ 2010-03-17  6:16 UTC (permalink / raw)
  To: community

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

Eugene Prokopiev пишет:
> Здравствуйте!
> 
> У меня есть такой файл:
> 
> $ 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
> ...

Эммм не кажется ли странным:
1) "образ файловой системы QNX"
---------------------------^^^
2) "/dev/loop0 on /mnt type vfat (rw)"
----------------------------^^^^
?

Да и странно как то... qnx вполне себе умеет нормально писать _нормальные_ образы CD...
Или это меня расширение с толку сбило?

...

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

-- 
Каждый, кто был любим иди любил хотя бы один день, не имеет права проклинать жизнь. -- П. Мантегацца


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Read/write QNX filesystem image
  2010-03-17  6:16 ` Evgeny Yugov
@ 2010-03-17  6:53   ` Eugene Prokopiev
  2010-03-17  7:12     ` Evgeny Yugov
  0 siblings, 1 reply; 6+ messages in thread
From: Eugene Prokopiev @ 2010-03-17  6:53 UTC (permalink / raw)
  To: ALT Linux Community general discussions

...
>> Утверждают, что в нем находится образ файловой системы QNX
...
> Эммм не кажется ли странным:
> 1) "образ файловой системы QNX"
> ---------------------------^^^
> 2) "/dev/loop0 on /mnt type vfat (rw)"
> ----------------------------^^^^
> ?

Кажется, конечно, поэтому не исключено, что соврали ;)

> Да и странно как то... qnx вполне себе умеет нормально писать _нормальные_
> образы CD...
> Или это меня расширение с толку сбило?

Да, снимали с помощью dd, насколько я понял

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Read/write QNX filesystem image
  2010-03-17  6:53   ` Eugene Prokopiev
@ 2010-03-17  7:12     ` Evgeny Yugov
  2010-03-17 13:31       ` Eugene Prokopiev
  0 siblings, 1 reply; 6+ messages in thread
From: Evgeny Yugov @ 2010-03-17  7:12 UTC (permalink / raw)
  To: community

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

Eugene Prokopiev пишет:
> Кажется, конечно, поэтому не исключено, что соврали ;)
> 
>> Да и странно как то... qnx вполне себе умеет нормально писать _нормальные_
>> образы CD...
>> Или это меня расширение с толку сбило?
> 
> Да, снимали с помощью dd, насколько я понял

Ну попробуйте принудительно с "mount -t qnx4 ..."

-- 
Мальчик объяснил жестами, что его зовут Хуан


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Read/write QNX filesystem image
  2010-03-17  7:12     ` Evgeny Yugov
@ 2010-03-17 13:31       ` Eugene Prokopiev
  2010-03-29 11:19         ` Michael Shigorin
  0 siblings, 1 reply; 6+ messages in thread
From: Eugene Prokopiev @ 2010-03-17 13:31 UTC (permalink / raw)
  To: ALT Linux Community general discussions

> Ну попробуйте принудительно с "mount -t qnx4 ..."

Ага, сработало, но только на чтение. Писать на него можно
исключительно с помощью http://qnxfs.narod.ru/ - и боюсь, что моих сил
не хватит тащить этот код на 2.6.32 :(

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Read/write QNX filesystem image
  2010-03-17 13:31       ` Eugene Prokopiev
@ 2010-03-29 11:19         ` Michael Shigorin
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2010-03-29 11:19 UTC (permalink / raw)
  To: ALT Linux Community general discussions

On Wed, Mar 17, 2010 at 04:31:09PM +0300, Eugene Prokopiev wrote:
> > Ну попробуйте принудительно с "mount -t qnx4 ..."
> Ага, сработало, но только на чтение. Писать на него можно
> исключительно с помощью http://qnxfs.narod.ru/ - и боюсь, что
> моих сил не хватит тащить этот код на 2.6.32 :(

Ой, для такого можно и попытаться с .27 или .30 собрать.
Хотя я бы это предложил желающим подложить, если выходит.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-29 11:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-16 12:39 [Comm] Read/write QNX filesystem image Eugene Prokopiev
2010-03-17  6:16 ` Evgeny Yugov
2010-03-17  6:53   ` Eugene Prokopiev
2010-03-17  7:12     ` Evgeny Yugov
2010-03-17 13:31       ` Eugene Prokopiev
2010-03-29 11:19         ` Michael Shigorin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git