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

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


Hi,

> Sounds like File_Exists() has some problems with that device file...
> what do you get when you run "stat /dev/sdc" ?

>stat /dev/sdc
  File: ‘/dev/sdc’
  Size: 0               Blocks: 0          IO Block: 4096   block special file
Device: 5h/5d   Inode: 2063        Links: 1     Device type: 8,20
Access: (0777/brwxrwxrwx)  Uid: (    0/    root)   Gid: (    6/    disk)
Access: 2014-10-12 18:57:04.657574929 +0200
Modify: 2014-10-12 18:57:04.635575204 +0200
Change: 2014-10-12 18:57:25.524314059 +0200
 Birth: -

>fdisk -l /dev/sdc

Disk /dev/sdc: 14.9 GiB, 16010706944 bytes, 31270912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device    Boot     Start       End Blocks  Id System
/dev/sdc1             63     16064   8001   6 FAT16
/dev/sdc2          16065     48194  16065   5 Extended
/dev/sdc5          16128     48194  16033+  6 FAT16

Take care

Uwe



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