Re: [hatari-devel] Using device files as drive images?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

> > I choose "/dev/sdc" as image file for an IDE drive in the Hatari UI. But
> > when I select this file with "Browse" and then click "Okay" the "IDE HD
> > master image" path display does not display anything.
> 
> Could you attach whole output from doing:
> 	hatari --conout 2 --trace ide --ide-master /dev/hdc
> 
> with Hatari from Mercurial?

This is what happens:

>ls -al /dev/sdc
brwxrwxrwx 1 root disk 8, 32 Oct 12 08:40 /dev/sdc


>hatari --conout 2 --trace ide --ide-master /dev/sdc
Xcounout device 2 vector redirection enabled.

Hatari v1.8.0 - the Atari ST, STE, TT and Falcon emulator.

Hatari is free software licensed under the GNU General Public License.

Usage:
 hatari [options] [disk image name]

Try option "-h" or "--help" to display more information.

Error while parsing argument "/dev/sdc" for option "--ide-master":
  Given file doesn't exist (or has wrong file permissions)!

Option usage:
  --ide-master <file> Emulate an IDE master harddrive with an image
<file>


/dev/sdc has rwx (just rw also does not work) permissions for all, so I would
expect it to work. On your machine this seems to be working, which file
permissions does your device file have?

Best regards

Uwe



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/