public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Sony Memory stick format funnies...
@ 2001-04-28 22:36 Rogier Wolff
  2001-04-28 23:06 ` mirabilos
  2001-04-29  0:03 ` H. Peter Anvin
  0 siblings, 2 replies; 19+ messages in thread
From: Rogier Wolff @ 2001-04-28 22:36 UTC (permalink / raw)
  To: linux-kernel


Hi,

I have a Sony memory stick in my system. When I display all the
interesting (i.e. not all 0xff and not all 0x00 data), I see (on a
recently formatted stick):

% hd /dev/hde | grep -v "ff ff ff ff ff ff ff ff   ff ff ff ff ff ff ff ff" | grep -v "00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00"
001b0  00 00 00 00 00 00 00 00   00 00 00 00 00 00 80 02 ................
001c0  08 00 01 07 d0 dd 27 00   00 00 d9 ee 01 00 00 00 ....P]'...Yn....
001f0  00 00 00 00 00 00 00 00   00 00 00 00 00 00 55 aa ..............U*
04e00  e9 00 00 20 20 20 20 20   20 20 20 00 02 20 01 00 i..        .. ..
04e10  02 00 02 00 00 f8 0c 00   10 00 08 00 27 00 00 00 .....x......'...
04e20  d9 ee 01 00 00 00 29 00   00 00 00 00 00 00 00 00 Yn....).........
04e30  00 00 00 00 00 00 46 41   54 31 32 20 20 20 00 00 ......FAT12   ..
04ff0  00 00 00 00 00 00 00 00   00 00 00 00 00 00 55 aa ..............U*
05000  f8 ff ff 00 00 00 00 00   00 00 00 00 00 00 00 00 x...............
06800  f8 ff ff 00 00 00 00 00   00 00 00 00 00 00 00 00 x...............
08000  4d 45 4d 53 54 49 43 4b   49 4e 44 03 00 00 00 00 MEMSTICKIND.....
08010  00 00 00 00 00 00 4f 4c   b7 28 00 00 00 00 00 00 ......OL7(......
% 

However, when I mount the stick on /mnt/d1 I see: 

# l /mnt/d1
total 16
drwxr-xr-x 512 root     root        16384 Mar 24 17:26 dcim/
-r-xr-xr-x   1 root     root            0 May 23  2000 memstick.ind*
# 

Where the *(&#$%& does that "dcim" directory come from????


				Roger. 

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots. 
* There are also old, bald pilots. 

^ permalink raw reply	[flat|nested] 19+ messages in thread
* RE: Sony Memory stick format funnies...
@ 2001-04-30  6:31 Antwerpen, Oliver
  0 siblings, 0 replies; 19+ messages in thread
From: Antwerpen, Oliver @ 2001-04-30  6:31 UTC (permalink / raw)
  To: linux-kernel

Moin,

> -----Original Message-----
> From: mirabilos [mailto:eccesys@topmail.de]
> Sent: Sunday, April 29, 2001 1:07 AM
> To: linux-kernel@vger.kernel.org; Rogier Wolff
> Subject: Re: Sony Memory stick format funnies... 
> 
> 
> Yn....).........
> > 04e30  00 00 00 00 00 00 46 41   54 31 32 20 20 20 00 00 ......FAT12
> ..
> > 04ff0  00 00 00 00 00 00 00 00   00 00 00 00 00 00 55 aa
> ..............U*
> 
> I didnt look further but IMO it must be PARTITIONED???
> (I'd start the partition at +1 rather than +0x27)
> 

Right, it is partitioned. And the dcim-dir is created by the camera during
formatting...

Olli

-- 
Die Wahrheit liegt irgendwo da draußen...

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2001-04-30  6:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-28 22:36 Sony Memory stick format funnies Rogier Wolff
2001-04-28 23:06 ` mirabilos
2001-04-29  0:03 ` H. Peter Anvin
2001-04-29  3:11   ` Michael Rothwell
2001-04-29  2:18     ` H. Peter Anvin
2001-04-29 20:03   ` Rogier Wolff
2001-04-29 20:09     ` H. Peter Anvin
2001-04-29 20:15       ` Gregory Maxwell
2001-04-29 20:17         ` H. Peter Anvin
2001-04-29 20:27           ` Rogier Wolff
2001-04-29 20:33             ` H. Peter Anvin
2001-04-29 20:45               ` Rogier Wolff
2001-04-30  4:24                 ` Matthew Dharm
2001-04-29 20:37             ` mirabilos
2001-04-29 20:39               ` Rogier Wolff
2001-04-29 20:23         ` Rogier Wolff
2001-04-29 20:18       ` Rogier Wolff
2001-04-29 20:23         ` H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2001-04-30  6:31 Antwerpen, Oliver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox