[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:41918] Re: cramfs initrd patch の「本当の」在処 (was Re: module 化されたドライバに係るファイルシステムの自動 mount)
- From: Junichi Uekawa <dancer@xxxxxxxxxxxxx>
- Subject: [debian-users:41918] Re: cramfs initrd patch の「本当の」在処 (was Re: module 化されたドライバに係るファイルシステムの自動 mount)
- Date: Sun, 7 Nov 2004 12:09:56 +0900
- List-help: <mailto:debian-users-ctl@debian.or.jp?body=help>
- List-id: debian-users.debian.or.jp
- List-owner: <mailto:debian-users-admin@debian.or.jp>
- List-post: <mailto:debian-users@debian.or.jp>
- List-software: fml [fml 4.0.3 release (20011202/4.0.3)]
- List-unsubscribe: <mailto:debian-users-ctl@debian.or.jp?body=unsubscribe>
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post)
- X-original-to: debian-users@debian.or.jp
- X-spam-level: **
- X-spam-status: No, hits=2.3 required=10.0 tests=EIGHTBIT_BODY,IN_REP_TO,ISO2022JP_BODY,ISO2022JP_CHARSET, PATCH_UNIFIED_DIFF,PLING_QUERY,QUOTED_EMAIL_TEXT, RCVD_IN_ORBS,RCVD_IN_OSIRUSOFT_COM,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, X_OSIRU_OPEN_RELAY version=2.44
- References: <20040825.105048.21919068.yoh@xxxxxxxx> <20040825025437.45326222F0C@xxxxxxxxxxxxxxxxxxxx> <20040826.174439.23021130.yoh@xxxxxxxx> <20041107.102142.74745922.yoh@xxxxxxxx>
- Message-id: <87ekj68id6.wl@xxxxxxxxxxxxx>
- X-mail-count: 41918
- User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)
上川です.
> apt-get install kernel-source-2.4.* としても、既にパッチが当たった
> カーネルソースしか入手できず、 apt-get source kernel-source-2.4.*
> としても、単独で cramfs patch として入手できません。
2.4.27のdiff.gzをみたら,下記ファイルがありました.これですか?
#本当にこんなに短いの?
--- kernel-source-2.4.27-2.4.27.orig/debian/patches/032_cramfs_initrd.diff
+++ kernel-source-2.4.27-2.4.27/debian/patches/032_cramfs_initrd.diff
@@ -0,0 +1,13 @@
+diff -urN kernel-source-2.4.22-2.4.22.orig/fs/cramfs/inode.c kernel-source-2.4.22-2.4.22/fs/cramfs/inode.c
+--- kernel-source-2.4.22-2.4.22.orig/fs/cramfs/inode.c 2002-08-03 10:39:45.000000000 +1000
++++ kernel-source-2.4.22-2.4.22/fs/cramfs/inode.c 2002-08-30 20:40:16.000000000 +1000
+@@ -54,6 +54,9 @@
+ inode->i_blksize = PAGE_CACHE_SIZE;
+ inode->i_gid = cramfs_inode->gid;
+ inode->i_ino = CRAMINO(cramfs_inode);
++ inode->i_atime = 0;
++ inode->i_mtime = 0;
++ inode->i_ctime = 0;
+ /* inode->i_nlink is left 1 - arguably wrong for directories,
+ but it's the best we can do without reading the directory
+ contents. 1 yields the right result in GNU find, even
--
上川 純一 Junichi Uekawa, Debian Developer
http://www.netfort.gr.jp/~dancer/