search for: name_to_dev

Displaying 18 results from an estimated 18 matches for "name_to_dev".

2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
coding style fixes. FIXME: check that compiled bin the same1!! --- usr/kinit/initrd.c | 3 ++- usr/kinit/kinit.c | 12 ++++-------- usr/kinit/kinit.h | 20 ++++++++++---------- usr/kinit/name_to_dev.c | 6 +++--- usr/kinit/nfsroot.c | 5 ++--- 5 files changed, 21 insertions(+), 25 deletions(-) diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c index 1c3ec56..d2efc59 100644 --- a/usr/kinit/initrd.c +++ b/usr/kinit/initrd.c @@ -122,7 +122,8 @@ static int run_linuxrc(int argc, char *...
2011 Jul 05
6
[PATCH 1/7] ln: Check snprintf() return values
Add some semi-useful error message, as printing the failing dir or file seems not really advisable after that error. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/ln.c | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/usr/utils/ln.c b/usr/utils/ln.c index e826eb8..257b33f 100644 --- a/usr/utils/ln.c +++ b/usr/utils/ln.c @@ -9,7
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
several errno.h for no good reasons. cleanup losesetup which is not using getopt_long, thus doesn't need getopt.h included. Move stdarg.h include up in losesetup to more proper place. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/dmesg.c | 1 - usr/utils/losetup.c | 4 +--- usr/utils/mkfifo.c | 1 - usr/utils/nuke.c | 1 - usr/utils/umount.c | 1
2006 Jul 11
0
[rfc] standalone kinit/resume
...) diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild index 0000e89..7669ecb 100644 --- a/usr/kinit/Kbuild +++ b/usr/kinit/Kbuild @@ -2,19 +2,21 @@ # # Kbuild file for kinit # -static-y := kinit +static-y := kinit static/resume kinit-y := kinit.o do_mounts.o ramdisk_load.o initrd.o kinit-y += name_to_dev.o devname.o kinit-y += getarg.o getintfile.o open.o readfile.o xpio.o -kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o resume.o +kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o resumelib.o kinit-y += ipconfig/ kinit-y += nfsmount/ kinit-y += run-init/ kinit-y += fstype/ -sha...
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
...deletions(-) create mode 100644 usr/kinit/capabilities.h diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild index 8f6d08e..5320127 100644 --- a/usr/kinit/Kbuild +++ b/usr/kinit/Kbuild @@ -3,14 +3,13 @@ # # library part of kinit. Is used by programs in sub-directories (resume et al) -lib-y := name_to_dev.o devname.o getarg.o +lib-y := name_to_dev.o devname.o getarg.o capabilities.o # use lib for kinit kinit-y := lib.a kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o kinit-y += getintfile.o readfile.o xpio.o kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o -kinit-y += capabili...
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
.../\1_num/ klibc: strcspn, strpbrk, strspn include string.h resume, kill: axe unused envp usage devname.c: include kinit.h add bzero() and diffstat usr/include/string.h | 1 usr/kinit/devname.c | 2 + usr/kinit/do_mounts_md.c | 18 +++++------ usr/kinit/name_to_dev.c | 16 +++++----- usr/kinit/resume/resume.c | 2 - usr/klibc/Kbuild | 2 - usr/klibc/bzero.c | 9 +++++ usr/klibc/strcspn.c | 1 usr/klibc/strpbrk.c | 1 usr/klibc/strspn.c | 1 usr/utils/cpio.c | 55 +++++++++++++-------------...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes. External Building ================= Patches 1 through 8 enable to use of klibc's build system while leaving the src tree pristine (and potentially read only). Specifically: - srctree=<Sources for klibc> - objtree=<Ouput directory for klibc> - KLIBCKERNELSRC=<Kernel sources> - KLIBCKERNELOBJ=<Kernel
2019 Jan 20
0
[klibc:master] Build and install kinit and sh without ".shared" suffix
...shared/sh else -install-y := sh +install-y := static/sh endif diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild index 84a636a..6cd5ba6 100644 --- a/usr/kinit/Kbuild +++ b/usr/kinit/Kbuild @@ -5,21 +5,21 @@ # library part of kinit. Is used by programs in sub-directories (resume et al) lib-y := name_to_dev.o devname.o getarg.o capabilities.o # use lib for kinit -kinit-y := lib.a +static/kinit-y := lib.a -kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o -kinit-y += getintfile.o readfile.o xpio.o -kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o +static/kinit-y += kinit.o do_mounts.o...
2010 Apr 16
0
[git pull v4] dash, sh4, ipconfig, dprintf, fstype, README's
...sr/kinit/ipconfig/main.c | 15 +- usr/kinit/ipconfig/netdev.c | 27 ++- usr/kinit/ipconfig/packet.c | 27 +- usr/kinit/kinit.c | 12 +- usr/kinit/kinit.h | 10 +- usr/kinit/name_to_dev.c | 6 +- usr/kinit/nfsmount/mount.c | 6 +- usr/kinit/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c...
2010 Apr 16
0
[PATCH] pull faccessat() system call
...sr/kinit/ipconfig/main.c | 15 +- usr/kinit/ipconfig/netdev.c | 27 ++- usr/kinit/ipconfig/packet.c | 27 +- usr/kinit/kinit.c | 12 +- usr/kinit/kinit.h | 10 +- usr/kinit/name_to_dev.c | 6 +- usr/kinit/nfsmount/mount.c | 6 +- usr/kinit/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c...
2010 Mar 28
1
[git pull v3] dash, sh4, ipconfig, dprintf, fstype, README's
...sr/kinit/ipconfig/main.c | 15 +- usr/kinit/ipconfig/netdev.c | 27 ++- usr/kinit/ipconfig/packet.c | 27 +- usr/kinit/kinit.c | 12 +- usr/kinit/kinit.h | 10 +- usr/kinit/name_to_dev.c | 6 +- usr/kinit/nfsmount/mount.c | 6 +- usr/kinit/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c...
2011 Aug 02
6
[PATCH v2 0/4] Support drop directories directly from kinit
This patchset applies to klibc mainline. This patchset introduces the ability to kinit to execute scripts or executable files present in in the initramfs before switching over to the root filesystem. It is implemented by first implementing scandir() and alphasort() as present in POSIX.1-2008 in klibc itself, and then using that as the basis for iterating and executing files via a run_scripts()
2010 Mar 22
1
[git pull] dash, sh4, README's
hello hpa, pushed out new patch queue :) It contains the sync with latest dash git, renaming of some README's to ease their packaging, sparc32 socket test and a sh4 fix by Debian porters (numbers of changes is huge, but mostly contained in dash). git pull git://git.debian.org/users/maks/klibc.git maks initramfs-tools seems happy with that version of dash, saw no regression on boot test with
2011 Jul 29
3
[PATCH 1/3] klibc: Add scandir() and alphasort() support.
Add support for scandir() and alphasort() as defined in POSIX.1-2008. Signed-off-by: Mike Waychison <mikew at google.com> --- usr/include/dirent.h | 7 +++++ usr/klibc/Kbuild | 2 + usr/klibc/scandir.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/scandir.c diff --git
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
This fixes a long standing issue where it was not possible to do "make usr/klibc/arch/x86_64/longjmp.o" in the kernel. The principle is that all .o files to be part of klibc are listed with klib-y. For each directory a klib.list file is made that specify all .o file and the final AR then adds all .o files to create libc.a. This patch introduce the infrastructure and converts x86_64 to
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...-Wno-sign-compare -Wno-unused-parameter -D__ASSEMBLY__ -DLIBDIR=\"/lib\" -DSOHASH=\"t555tEgyC71KJYxZ3b-TCDMG-Ig\" -c -o usr/klibc/interp.o usr/klibc/interp.S : make -rR -f /root/ofs/trunk/packages/klibc-2.0.2/scripts/Kbuild.klibc obj=usr/kinit ppc-linux-gcc -Wp,-MD,usr/kinit/.name_to_dev.o.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/../include -Iusr/klibc/../include -I/root/ofs/tr...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: