[klibc 40/43] kinit: replacement for in-kernel do_mount, ipconfig, nfsroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[klibc] kinit: replacement for in-kernel do_mount, ipconfig, nfsroot

kinit provides the default root-mounting code.  It should be
compatible with the in-kernel root-mounting code (modulo bugs); it
also provides a few minor enhancements.

Signed-off-by: H. Peter Anvin <[email protected]>

---
commit f0b65bb7d198f7bde27107c762d4ff0bf43754b2
tree 4890fa3f418bc3b068ee6c4c0e8ddeedaf9e4416
parent 331e12895f91848ae0eff9acdbd5058b3c1056af
author H. Peter Anvin <[email protected]> Sun, 25 Jun 2006 16:58:59 -0700
committer H. Peter Anvin <[email protected]> Sun, 25 Jun 2006 16:58:59 -0700

 usr/kinit/Kbuild                    |   28 +
 usr/kinit/README                    |    9 
 usr/kinit/devname.c                 |  114 +++++
 usr/kinit/do_mounts.c               |  221 ++++++++++
 usr/kinit/do_mounts.h               |   48 ++
 usr/kinit/do_mounts_md.c            |  398 ++++++++++++++++++
 usr/kinit/do_mounts_mtd.c           |   44 ++
 usr/kinit/fstype/Kbuild             |   25 +
 usr/kinit/fstype/cramfs_fs.h        |   85 ++++
 usr/kinit/fstype/ext2_fs.h          |   79 ++++
 usr/kinit/fstype/ext3_fs.h          |   92 ++++
 usr/kinit/fstype/fstype.c           |  296 ++++++++++++++
 usr/kinit/fstype/fstype.h           |   23 +
 usr/kinit/fstype/jfs_superblock.h   |  114 +++++
 usr/kinit/fstype/luks_fs.h          |   44 ++
 usr/kinit/fstype/lvm2_sb.h          |   18 +
 usr/kinit/fstype/main.c             |   58 +++
 usr/kinit/fstype/minix_fs.h         |   85 ++++
 usr/kinit/fstype/reiserfs_fs.h      |   69 +++
 usr/kinit/fstype/romfs_fs.h         |   56 +++
 usr/kinit/fstype/swap_fs.h          |   18 +
 usr/kinit/fstype/xfs_sb.h           |   16 +
 usr/kinit/getarg.c                  |   57 +++
 usr/kinit/getintfile.c              |   30 +
 usr/kinit/initrd.c                  |  199 +++++++++
 usr/kinit/ipconfig/Kbuild           |   31 +
 usr/kinit/ipconfig/README           |  103 +++++
 usr/kinit/ipconfig/bootp_packet.h   |   34 ++
 usr/kinit/ipconfig/bootp_proto.c    |  213 ++++++++++
 usr/kinit/ipconfig/bootp_proto.h    |    8 
 usr/kinit/ipconfig/dhcp_proto.c     |  212 ++++++++++
 usr/kinit/ipconfig/dhcp_proto.h     |   18 +
 usr/kinit/ipconfig/ipconfig.h       |   35 ++
 usr/kinit/ipconfig/main.c           |  758 +++++++++++++++++++++++++++++++++++
 usr/kinit/ipconfig/netdev.c         |  251 ++++++++++++
 usr/kinit/ipconfig/netdev.h         |   83 ++++
 usr/kinit/ipconfig/packet.c         |  286 +++++++++++++
 usr/kinit/ipconfig/packet.h         |    9 
 usr/kinit/kinit.c                   |  330 +++++++++++++++
 usr/kinit/kinit.h                   |   73 +++
 usr/kinit/name_to_dev.c             |  202 +++++++++
 usr/kinit/nfsmount/Kbuild           |   27 +
 usr/kinit/nfsmount/README.locking   |   26 +
 usr/kinit/nfsmount/dummypmap.c      |  188 +++++++++
 usr/kinit/nfsmount/dummypmap.h      |   13 +
 usr/kinit/nfsmount/dummypmap_test.c |    2 
 usr/kinit/nfsmount/main.c           |  263 ++++++++++++
 usr/kinit/nfsmount/mount.c          |  357 ++++++++++++++++
 usr/kinit/nfsmount/nfsmount.h       |   39 ++
 usr/kinit/nfsmount/portmap.c        |   73 +++
 usr/kinit/nfsmount/sunrpc.c         |  253 ++++++++++++
 usr/kinit/nfsmount/sunrpc.h         |   99 +++++
 usr/kinit/nfsroot.c                 |  113 +++++
 usr/kinit/open.c                    |   18 +
 usr/kinit/ramdisk_load.c            |  271 +++++++++++++
 usr/kinit/readfile.c                |   86 ++++
 usr/kinit/resume.c                  |   75 +++
 usr/kinit/run-init/Kbuild           |   25 +
 usr/kinit/run-init/run-init.c       |   95 ++++
 usr/kinit/run-init/run-init.h       |   38 ++
 usr/kinit/run-init/runinitlib.c     |  216 ++++++++++
 usr/kinit/xpio.c                    |   51 ++
 usr/kinit/xpio.h                    |   11 +
 63 files changed, 7211 insertions(+), 0 deletions(-)

Patch suppressed due to size (185 K), available at:
http://www.kernel.org/pub/linux/kernel/people/hpa/klibc-patchset/40-kinit-replacement-for-in-kernel-do-mount-ipconfig-nfsroot.patch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux