bug-parted
[Top][All Lists]
Advanced

[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

Hi,

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 ?

Cheers,
Guillaume


******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 : 
http://register.tiscali.fr/adsl
Sous réserve d'éligibilité à l'ADSL.






reply via email to

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