From: Led <led@ukr-fin.com.ua> To: sisyphus@altlinux.ru Subject: [sisyphus] isofs in kernel-2.4 Date: Tue, 7 Sep 2004 15:11:13 +0300 Message-ID: <200409071511.13507.led@ukr-fin.com.ua> (raw) Натолкнулся на неприятную фичу в ядре 2.4 (тек. Sisyphus и FedoreCore 2): записал DVD-R (mkisofs, потом growisofs с указанием готового имиджа - до этого так писал уже много, всё было нормально), всё вроде нормально, но при монтировании готового диска (а потом и iso-шку монтировал - результат один) размер файла вместо 2090М показывает несколько М всего, аналогично неправильные размеры всех тех файлов, которые в списке (алфавитном порядке) идут ниже указанного и, естественно, они полностью не читаются (на 12-й консоли пишет, что mount обнаружил ошибку в ФС и переходит в режим cruft... Посмотрел в исходниках ядра fs/isofs/inode.c - сказано, что по стандарту размер файлов на iso9660 не может превышать 2G, под размер выделяется 32 бита, но старший бит не используется. Я понимаю, что стандарт есть стандарт, но w2k эти файлы читаются нормально и размер показывается реальный, в linux-2.6 тоже всё нормально (здесь в отличии от 2.4 в fs/isofs/inode.c не делается проверка на превышения размера 0x7FFFFFFE). Тупим наскоком убрать сию проверку в 2.4 результата я не достиг (ну не кернел-хакер я:)). Может кто подскажет как сделать в 2.4 такое же поведение как в 2.6 или патчик/ссылку кинет? Вроде бы мелочь, но kernel-fix-fs-isofs, думаю, и в Сизифе не помешал бы... Led.
next reply other threads:[~2004-09-07 12:11 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-09-07 12:11 Led [this message] 2004-09-07 13:04 ` Led 2004-09-08 14:29 ` Led
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200409071511.13507.led@ukr-fin.com.ua \ --to=led@ukr-fin.com.ua \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git