Bug sto ext2fs ?
I.Ioannou
roryt at hol.gr
Thu Mar 4 03:59:13 EET 1999
I.Ioannou (roryt at hol.gr)
Tue, 02 Mar 1999 17:51:14 +0200
Previous message: root: "Re: Modem Problems"
Kamia idea giati tha trelathw. Exw dyo linux paromoia. linux-2.0.36,
gcc-2.7.2.3, fileutils-3.12. Dinw :
dd if=/dev/zero of=file.txt count=1030k bs=1024
Sto men ena mou fiaxnei to arxeio kanonika (mexri ta 2Gb), sto allo mou
epistrefei file too large (EFBIG) akribws sto 1Gb.
Koitw sta sources tou kernel (fs/ext2/file.c) kai exei :
static int ext2_file_write (struct inode * inode, struct file * filp,
const char * buf, int count)
{
const loff_t two_gb = 2147483647;
kai ligo parakatw :
while (count > 0) {
if (pos > two_gb) {
if (!written)
written = -EFBIG;
break;
}
pou shmainei oti prepei na "skasei" akribws sta 2Gb kai oxi sto ena.
To exei sinantisei kaneis ? Kamia idea ?
TIA
I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
I.Ioannou (roryt at hol.gr)
Tue, 02 Mar 1999 17:51:14 +0200
Previous message: root: "Re: Modem Problems"
Kamia idea giati tha trelathw. Exw dyo linux paromoia. linux-2.0.36,
gcc-2.7.2.3, fileutils-3.12. Dinw :
dd if=/dev/zero of=file.txt count=1030k bs=1024
Sto men ena mou fiaxnei to arxeio kanonika (mexri ta 2Gb), sto allo mou
epistrefei file too large (EFBIG) akribws sto 1Gb.
Koitw sta sources tou kernel (fs/ext2/file.c) kai exei :
static int ext2_file_write (struct inode * inode, struct file * filp,
const char * buf, int count)
{
const loff_t two_gb = 2147483647;
kai ligo parakatw :
while (count > 0) {
if (pos > two_gb) {
if (!written)
written = -EFBIG;
break;
}
pou shmainei oti prepei na "skasei" akribws sta 2Gb kai oxi sto ena.
To exei sinantisei kaneis ? Kamia idea ?
TIA
I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
I.Ioannou (roryt at hol.gr)
Tue, 02 Mar 1999 17:51:14 +0200
Previous message: root: "Re: Modem Problems"
Kamia idea giati tha trelathw. Exw dyo linux paromoia. linux-2.0.36,
gcc-2.7.2.3, fileutils-3.12. Dinw :
dd if=/dev/zero of=file.txt count=1030k bs=1024
Sto men ena mou fiaxnei to arxeio kanonika (mexri ta 2Gb), sto allo mou
epistrefei file too large (EFBIG) akribws sto 1Gb.
Koitw sta sources tou kernel (fs/ext2/file.c) kai exei :
static int ext2_file_write (struct inode * inode, struct file * filp,
const char * buf, int count)
{
const loff_t two_gb = 2147483647;
kai ligo parakatw :
while (count > 0) {
if (pos > two_gb) {
if (!written)
written = -EFBIG;
break;
}
pou shmainei oti prepei na "skasei" akribws sta 2Gb kai oxi sto ena.
To exei sinantisei kaneis ? Kamia idea ?
TIA
I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
I.Ioannou (roryt at hol.gr)
Tue, 02 Mar 1999 17:51:14 +0200
Previous message: root: "Re: Modem Problems"
Kamia idea giati tha trelathw. Exw dyo linux paromoia. linux-2.0.36,
gcc-2.7.2.3, fileutils-3.12. Dinw :
dd if=/dev/zero of=file.txt count=1030k bs=1024
Sto men ena mou fiaxnei to arxeio kanonika (mexri ta 2Gb), sto allo mou
epistrefei file too large (EFBIG) akribws sto 1Gb.
Koitw sta sources tou kernel (fs/ext2/file.c) kai exei :
static int ext2_file_write (struct inode * inode, struct file * filp,
const char * buf, int count)
{
const loff_t two_gb = 2147483647;
kai ligo parakatw :
while (count > 0) {
if (pos > two_gb) {
if (!written)
written = -EFBIG;
break;
}
pou shmainei oti prepei na "skasei" akribws sta 2Gb kai oxi sto ena.
To exei sinantisei kaneis ? Kamia idea ?
TIA
I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
As poume oti kanw :
dd if=/dev/zero of=john.txt seek=1000k count=2 bs=1024
Mou fiaxnei se xrono recore ena arxeio konta 1Gb, alla to df deixnei oti
to megethos tou diskou den exei meiothei (pera po oti alla problhmata
exei ena tetoio arxeio). Kapou exoun mpertheftei ta inodes tou, kai
exei xasei ton logariasmo.
Einai bug sto driver tou ext2fs , einai bug tou dd ?
Kai an einai bug tou ext2fs driver, pou to kanw report ?
I.Ioannou <roryt at hol.gr>
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list