Skip to contentSkip to conversation

FAT on non standard sector size devices

PATCH New Igor Luri 1 participant 1 message Nov 12, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1226492854.5686.8.camel@txema-desktop

Igor Luri

author
#1 lore raw

PATCH 1/1 FAT on non standard sector size devices

Quoted 1 line

Please only sent patches inline, see http://lwn.net/Articles/139918/

Sorry.

Quoted 4 lines

Why hardcode this size to 8192, cant it be malloced somehow? Is there a check that detects if the size is getting bigger than 8192 to prevent segfaults?

In read_bootsectandvi function already isn't known device sector size, so I define quite large sector size of 8 Kbyte.

It can be malloced if I get the sector size of the device from block_dev_desc_t. I am going to double check it, and if it works, I'll send the definitive patch.

Quoted 1 line

Some weird characters here... Is this change what you want?

Sorry, I don't know how I have changed thouse caracters, I will correct this too.

Thanks.

Signature · 9 lines
Igor Luri
R&D Software Department
Fagor Aotek S. Coop.
P. O. Box 144
E-20500 Mondrag?n-Arrasate
Tel.    ++34 943 71 92 00 
        ++34 943 71 92 01 (Ext. 44268)
Fax.    ++34 943 79 92 03
www.aotek.es