[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Partitions whith length % 4096 != 0

From: address@hidden
Subject: Partitions whith length % 4096 != 0
Date: Fri, 23 Apr 2004 22:23:40 +0200


I was wondering whether I need to make black (white?) magic
to write end of a partition which doesn't have a size % 4096
bytes != 0 when using open on the partition device and write
on Linux 2.4.25 or 2.4.26. I'm debugging a port of newfs_hfs
for linux (for hfs parted regression tests), which writes
4096 bytes at the end of a partition (let's say at offest
'o'), and the write fails writing only 'n' bytes, where
'(o+n)%4096==0' and 'n<=4096'

Anybody has an idea ?


******ADSL Tiscali, le Haut débit au meilleur prix ******
Avec Tiscali, profitez de l'ADSL au meilleur prix partout en France !
Pour profiter de cette offre exceptionnelle, cliquez ici : 
Sous réserve d'éligibilité à l'ADSL.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]