发表于2005年7月的文章

Simplified Minix filesystem

发表于2005年7月13日

作业编译成功,纪念一下!所谓的Sminix文件系统只能创建文件,不能创建目录。没什么用就是乐子。

debian:/usr/src/kernel-source-2.6.10# make -j15 modules
  CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s’ is up to date.
  CC [M]  fs/sminix/bitmap.o
  CC [M]  fs/sminix/itree_v1.o
  CC [M]  fs/sminix/itree_v2.o
  CC [M]  fs/sminix/namei.o
  CC [M]  fs/sminix/inode.o
  CC [M]  fs/sminix/file.o
  CC [M]  fs/sminix/dir.o
fs/sminix/bitmap.c: In function `sminix_free_block’:
fs/sminix/bitmap.c:71: warning: implicit declaration of function `sminix_test_and_clear_bit’
fs/sminix/bitmap.c: In function `sminix_new_block’:
fs/sminix/bitmap.c:89: warning: implicit declaration of function `sminix_find_first_zero_bit’
fs/sminix/bitmap.c:90: warning: implicit declaration of function `sminix_set_bit’
fs/sminix/bitmap.c: In function `sminix_new_inode’:
fs/sminix/bitmap.c:240: warning: implicit declaration of function `sminix_test_and_set_bit’
fs/sminix/inode.c: In function `sminix_fill_super’:
fs/sminix/inode.c:225: warning: implicit declaration of function `sminix_set_bit’
  LD [M]  fs/sminix/sminix.o
  Building modules, stage 2.
  MODPOST
*** Warning: "sminix_test_and_clear_bit" [fs/sminix/sminix.ko] undefined!
*** Warning: "sminix_test_and_set_bit" [fs/sminix/sminix.ko] undefined!
*** Warning: "sminix_set_bit" [fs/sminix/sminix.ko] undefined!
*** Warning: "sminix_find_first_zero_bit" [fs/sminix/sminix.ko] undefined!
*** Warning: "videobuf_dvb_unregister" [drivers/media/video/saa7134/saa7134-dvb.ko] undefined!
*** Warning: "videobuf_dvb_register" [drivers/media/video/saa7134/saa7134-dvb.ko] undefined!
  CC      fs/sminix/sminix.mod.o
  LD [M]  fs/sminix/sminix.ko
debian:/usr/src/kernel-source-2.6.10#