View topic - using mountimg
using mountimg
4 posts
• Page 1 of 1
using mountimg
I have created a floppy diskette image. When I run the mountimg utility, I found that not all the files appeared. Also, there were times that when I wanted to display the contents of a directory, the following error occurred:
ls: readdir of 'archive' failed (Invalid argument).
Other times I would not able to see the files in the directory and the error would be "corrupted file systems".
I see that mountimg is an unsupported utility. I also saw the utility will exit if the file is fragmented. I created the image file by typing the following:
cp /dev/fd0 /tmp/archive.img.
Then a typed as a superuser the following:
mountimg -c -m /tmp/archive_1 -v archive.img
I don't know if there was fragmentation on the floppy image file because there were no errors displayed.
I also use WinImage on my Windows box to create floppy images of the same QNX floppy diskette. I had the same problems mentioned earlier.
Does anyone know if there are issues with "mountimg" utility and if there are any work around.
Thanks,
Mark
ls: readdir of 'archive' failed (Invalid argument).
Other times I would not able to see the files in the directory and the error would be "corrupted file systems".
I see that mountimg is an unsupported utility. I also saw the utility will exit if the file is fragmented. I created the image file by typing the following:
cp /dev/fd0 /tmp/archive.img.
Then a typed as a superuser the following:
mountimg -c -m /tmp/archive_1 -v archive.img
I don't know if there was fragmentation on the floppy image file because there were no errors displayed.
I also use WinImage on my Windows box to create floppy images of the same QNX floppy diskette. I had the same problems mentioned earlier.
Does anyone know if there are issues with "mountimg" utility and if there are any work around.
Thanks,
Mark
- mhborovay
- New Member
- Posts: 3
- Joined: Mon Feb 06, 2017 2:34 pm
Re: using mountimg
Hi Mark,
I don't remember the last time I used mountimg. Maybe 20 years ago or more. But googling around I found these 2 links
http://community.qnx.com/sf/discussion/ ... _post47681
(see the last post)
https://openqnx.com/phpbbforum/viewtopic.php?t=6642
Hopefully one of these will help you.
Tim
I don't remember the last time I used mountimg. Maybe 20 years ago or more. But googling around I found these 2 links
http://community.qnx.com/sf/discussion/ ... _post47681
(see the last post)
https://openqnx.com/phpbbforum/viewtopic.php?t=6642
Hopefully one of these will help you.
Tim
- Tim
- Senior Member
- Posts: 1438
- Joined: Wed Mar 10, 2004 12:28 am
Re: using mountimg
Try using "dd if=/dev/fd0 of=/tmp/archive.img" to create the image. I do not believe "cp" will work for what you are attempting.
- space
- Active Member
- Posts: 17
- Joined: Fri Mar 09, 2007 6:03 pm
- Location: Texas
Re: using mountimg
space wrote:Try using "dd if=/dev/fd0 of=/tmp/archive.img" to create the image. I do not believe "cp" will work for what you are attempting.
It always has for me.
- maschoen
- QNX Master
- Posts: 2711
- Joined: Wed Jun 25, 2003 5:18 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: Bing [Bot] and 4 guests