linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ipod vfat
@ 2004-10-31 21:35 Yaroslav Halchenko
  2004-10-31 23:24 ` Yaroslav Halchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Yaroslav Halchenko @ 2004-10-31 21:35 UTC (permalink / raw)
  To: linux kernel mailing list

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

Dear Kernel Developers,

Is it possible to incorporate the next patch which I had to introduce to
have the vfat fs of my ipod to get mounted under Linux.

Originally its vfat was mounting ok, but then at some point which I
didn't clearly mentioned, it stopped... probably it happened after I
attached ipod to some windows box, because now windows still can easily
mount it whenever vanilla linux kernel refuses...

Or should I just adjust my ipod's fs definition?

Thank you in advance

-- 
Yaroslav Halchenko
  Graduate Student  CS Dept. UNM,  ABQ
        Linux User  175555
      lynx -source  http://www.onerussian.com/gpg-yoh.asc | gpg --import
   GPG fingerprint  3BB6 E124 0643 A615 6F00  6854 8D11 4563 75C0 24C8

[-- Attachment #2: patch-ipodfs.patch --]
[-- Type: text/plain, Size: 508 bytes --]

--- linux-2.6.5/fs/fat/inode.c	2004-05-10 18:09:15.000000000 +0000
+++ linux-2.6.6-preX/fs/fat/inode.c	2004-05-09 19:49:04.000000000 +0000
@@ -984,6 +984,8 @@
 	}
 	if (FAT_FIRST_ENT(sb, media) == first) {
 		/* all is as it should be */
+	} else if (media == 0xf8 && FAT_FIRST_ENT(sb, 0xff) == first) {
+		/* bad, reported on yarik's ipod */
 	} else if (media == 0xf8 && FAT_FIRST_ENT(sb, 0xfe) == first) {
 		/* bad, reported on pc9800 */
 	} else if (media == 0xf0 && FAT_FIRST_ENT(sb, 0xf8) == first) {

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

* Re: ipod vfat
  2004-10-31 21:35 ipod vfat Yaroslav Halchenko
@ 2004-10-31 23:24 ` Yaroslav Halchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Yaroslav Halchenko @ 2004-10-31 23:24 UTC (permalink / raw)
  To: linux kernel mailing list

I'm sorry guys - it seems that the necessary steps were taken in the
last kernel version:

        /*
         * The low byte of FAT's first entry must have same value with
         * media-field.  But in real world, too many devices is
         * writing wrong value.  So, removed that validity check.
         *
         * if (FAT_FIRST_ENT(sb, media) != first)
         */

So I will give it a spin :-)

Sorry once again

-- 
Yarik

On Sun, Oct 31, 2004 at 04:35:23PM -0500, Yaroslav Halchenko wrote:
> Dear Kernel Developers,

> Is it possible to incorporate the next patch which I had to introduce to
> have the vfat fs of my ipod to get mounted under Linux.

> Originally its vfat was mounting ok, but then at some point which I
> didn't clearly mentioned, it stopped... probably it happened after I
> attached ipod to some windows box, because now windows still can easily
> mount it whenever vanilla linux kernel refuses...

> Or should I just adjust my ipod's fs definition?

> Thank you in advance
-- 
                                                  Yaroslav Halchenko
                  Research Assistant, Psychology Department, Rutgers
          Office  (973) 353-5440 x263  Fax (973) 353-1171
   Ph.D. Student  CS Dept. NJIT
             Key  http://www.onerussian.com/gpg-yoh.asc
 GPG fingerprint  3BB6 E124 0643 A615 6F00  6854 8D11 4563 75C0 24C8


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

end of thread, other threads:[~2004-10-31 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 21:35 ipod vfat Yaroslav Halchenko
2004-10-31 23:24 ` Yaroslav Halchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).