[Pluto-help] applicare patch al kernel x quota

Davide Tiziani tizianid a libero.it
Lun 7 Apr 2003 22:07:20 CEST


ciao a tutti,
            vi scrivo per chiedervi una spiegazione su come si applica
una patch al kernel.
io ho una debian woody su cui ho già compilato il kernel 2.4.19. ho
provato ad applicare il disk quota e non ha funzionato. allora sono
andato al sito di reiserfs e  ho letto che per far funzionare quota
bisogna applicare una loro patch. l'ho scaricata e ho seguito le
istruzioni del KERNEL-HOWTO


zcat quota-v2-2.4.19-pre3.diff.gz | patch  -s -p0

mi aspettavo righe che corrono veloci o messaggi di errore e invece mi
chiede a quale file voglio applicare la patch. io ho provato a dirgli
qualcosa, ma non gli va bene. sapete spiegarmi come devo rispondere?

allego l'output del comando

grazie Davide




debian:/usr/src# zcat quota-v2-2.4.19-pre3.diff.gz | patch  -s -p0
The text leading up to this was:
--------------------------
|# This is a BitKeeper generated patch for the following project:
|# Project Name: Linux kernel tree
|# This patch format is intended for GNU patch command version 2.5 or
higher.
|# This patch includes the following deltas:
|#                 ChangeSet    1.162   -> 1.163
|#      include/asm-sparc64/ioctls.h    1.1     -> 1.2
|#      arch/ia64/ia32/sys_ia32.c       1.9     -> 1.10
|#      include/asm-cris/ioctls.h       1.1     -> 1.2
|#      include/asm-sh/ioctls.h 1.1     -> 1.2
|#      include/asm-i386/ioctls.h       1.1     -> 1.2
|#      include/asm-m68k/ioctls.h       1.1     -> 1.2
|#      include/asm-parisc/ioctls.h     1.1     -> 1.2
|#                fs/dquot.c    1.16    -> 1.18
|#      include/asm-ia64/ioctls.h       1.1     -> 1.2
|#      include/linux/quota.h   1.3     -> 1.4
|#      include/asm-alpha/ioctls.h      1.2     -> 1.3
|#                fs/ioctl.c    1.2     -> 1.3
|#        include/linux/fs.h    1.58    -> 1.59
|#      include/linux/quotaops.h        1.5     -> 1.6
|#      include/asm-sparc/ioctls.h      1.1     -> 1.2
|#                fs/inode.c    1.32    -> 1.33
|#      arch/sparc64/kernel/sys_sparc32.c       1.14    -> 1.15
|#
|# The following is the BitKeeper ChangeSet Log
|# --------------------------------------------
|# 02/05/19     mason a suse.com  1.159.1.1
|# quota-v2
|# --------------------------------------------
|# 02/05/19     mason a suse.com  1.159.1.2
|# dquot_deadlock.diff
|# --------------------------------------------
|# 02/05/19     mason a suse.com  1.159.1.3
|# nesting-10.diff
|# --------------------------------------------
|# 02/05/19     mason a suse.com  1.159.1.4
|# reiserfs-quota-20.diff
|# --------------------------------------------
|# 02/05/19     mason a suse.com  1.159.1.5
|# kinoded-8.diff
|# --------------------------------------------
|# 02/05/19     mason a suse.com  1.163
|# quota-v2-2.4.19-pre3
|# --------------------------------------------
|#
|diff -Nru a/arch/ia64/ia32/sys_ia32.c b/arch/ia64/ia32/sys_ia32.c
|--- a/arch/ia64/ia32/sys_ia32.c        Mon May 20 09:00:38 2002
|+++ b/arch/ia64/ia32/sys_ia32.c        Mon May 20 09:00:38 2002
--------------------------
File to patch:
Skip this patch? [y]
3 out of 3 hunks ignored
The text leading up to this was:
--------------------------
|diff -Nru a/arch/sparc64/kernel/sys_sparc32.c
b/arch/sparc64/kernel/sys_sparc32.c
|--- a/arch/sparc64/kernel/sys_sparc32.c        Mon May 20 09:00:38 2002
|+++ b/arch/sparc64/kernel/sys_sparc32.c        Mon May 20 09:00:38 2002
--------------------------
File to patch:










More information about the pluto-help mailing list