Penguin
Annotated edit history of setup(2) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SETUP
2 !!!SETUP
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 ERRORS
8 CONFORMING TO
9 ----
10 !!NAME
11
12
13 setup - setup devices and file systems, mount root file system
14 !!SYNOPSIS
15
16
17 __#include __
18
19
20 ___syscall0(int, setup);__
21
22
23 __int setup(void);__
24 !!DESCRIPTION
25
26
27 __setup__ is called once from within
28 ''linux/init/main.c''. It calls initialization functions
29 for devices and file systems configured into the kernel and
30 then mounts the root file system.
31
32
33 No user process may call __setup__. Any user process,
34 even a process with super-user permission, will receive
35 __EPERM__.
36 !!RETURN VALUE
37
38
39 __setup__ always returns -1 for a user
40 process.
41 !!ERRORS
42
43
44 __EPERM__
45
46
47 Always, for a user process.
48 !!CONFORMING TO
49
50
51 This function is Linux specific, and should not be used in
52 programs intended to be portable, or indeed in any programs
53 at all. Since Linux 2.1.121, no such function exists
54 anymore. The calling sequence varied: it has had a single
55 parameter ''void * BIOS'' and at other times a single
56 parameter ''int magic''.
57 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.