Re: [hatari-devel] Using device files as drive images? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Using device files as drive images?
- From: Uwe Seimet <Uwe.Seimet@xxxxxxxxx>
- Date: Sun, 12 Oct 2014 18:59:01 +0200
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1413133141; l=937; s=domk; d=seimet.de; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Subject:To:From:Date; bh=lNaHb+ftKz9Sngf4mxLZi0j1Cyc=; b=RRZz6qwn41qQLUQcPpJ5ZyYO3utByIYbZo0zHvD8v8o7UIUt4VhSseNSFHsytBJ9cdw bm8e8VlvtpjcI4YJ2t/6Ms62lAvpn1sTFf/fPXjl5UZrAk04WpYasti383EWNhehaqHLt 1A9RAPpO2OxPTPkv/JQC3+LZ7BIDV5flMGU=
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