from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

210143

userrating:


May 25th. 2007:
Words

486

Views

259134

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150473

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





setup

Section: System Calls (2)
Updated: 202-0-08
Index Return to Main Contents
 

NAME

setup - setup devices and filesystems, mount root filesystem  

LIBRARY

Standard C library (libc,~-lc)  

SYNOPSIS

#include <unistd.h>
[[deprecated]] int setup(void);
 

DESCRIPTION

setup() is called once from within linux/init/main.c. It calls initialization functions for devices and filesystems configured into the kernel and then mounts the root filesystem. No user process may call setup(). Any user process, even a process with superuser permission, will receive EPERM.  

RETURN VALUE

setup() always returns -1 for a user process.  

ERRORS

EPERM
Always, for a user process.
 

STANDARDS

Linux.  

VERSIONS

Removed in Linux 2.1.121. The calling sequence varied: at some times setup() has had a single argument void *BIOS and at other times a single argument int magic.


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
STANDARDS
VERSIONS





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 13.7 ms