Question about VFS layers for filesystems

Alex Buell (alex.buell@tahallah.demon.co.uk)
Thu, 12 Nov 1998 15:22:22 -0500 (EST)


I read in Alessandro Rubini's book "Linux Device Drivers", that the VFS
layer for 2.0.x kernels is limited to 512 bytes per sector as a minimum.

Is this still true for 2.1.x? I have just discovered that this out-of-date
DOS device driver that I have disassembled, uses variable sector sizes
depending upon the size of the flashcard used. I.e on this 32K flashcard,
it has a sector size of 32 bytes in DOS 8.3 FAT format. This can vary for
different flashcards up to 4MB in size.

It would make my life a lot easier if I could just read the superblock
from the flashcard and set the VFS's sector size to whatever it is - ie
512/256/128/64/32 byte sector sizes, and then use the MSDOS filesystem
layer with it.

Cheers,
Alex.

---
 /\_/\  Legalise cannabis now! 
( o.o ) Grow some cannabis today! 
 > ^ <  Peace, Love, Unity and Respect to all.

Check out http://www.tahallah.demon.co.uk Linux lo-pc3035a 2.1.125 #6 Fri Oct 9 13:53:00 EDT 1998 One Intel Pentium 75+ processor, 66.36 total bogomips, 16M RAM System library 5.4.44

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/