Menu

#451 imgmount for linux/unix dev nodes

0.74
open
nobody
None
1
2017-03-12
2017-03-11
No

using "imgmount a /dev/floppy -t floppy"
always give me this error:
"To mount directories, use the MOUNT command, not the IMGMOUNT command."

I would like to use the linux dev nodes as image files. There should be no difference, and then I'll be saved from copying each disk to an image. It appears the solution has already been found, but no bug ticket was written, so I'm still dealing with the issue in 2017. Here's the page describing the solution: https://www.vogons.org/viewtopic.php?f=31&t=46014#p463808

In case their patch was too old, I manually applied it to the current .74 source available in debian testing, and it seems to work for me too.

I see, now, that using CTRL-F4 to update the directory cache on the single dev node, doesn't seem to function, so I will probably just create floppy images after all...

Attached is the patch I revamped today.

1 Attachments

Discussion

  • only Free Software for me

    ... And imgmount refuses to work with multiple floppy images (just cdroms).

    It turns out mount works for my purposes: "mount a /mnt/floppy/ -t floppy". Now I just have to mount and umount each disk with linux to swap them. I must have used it this way before, but took more trial and error than I would have liked to remind myself. I'd forgotten you can use "-t floppy" with the normal mount too.

    The patch probably still pertains, as a device node has the same contents as an image file.

     
  • Dominik Reichardt

    you should use SVN of DOSBox when trying out/patching things. In SVN imgmount works for multiple floppy images.

     

Log in to post a comment.