SWITCH_ROOT(8) System Manager's Manual SWITCH_ROOT(8)NAME
switch_root - switch to another filesystem as the root of the mount tree.
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev and /sys to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS -h, --help
show help and exit
-V, --version
show version number and exit
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO mount(8)chroot(2)init(8)mkinitrd(8)AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
Linux June 2009 SWITCH_ROOT(8)
Check Out this Related Man Page
SWITCH_ROOT(8) System Administration SWITCH_ROOT(8)NAME
switch_root - switch to another filesystem as the root of the mount tree
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev and /sys to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS -h, --help
show help and exit
-V, --version
show version number and exit
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO mount(8)chroot(2)init(8)mkinitrd(8)AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2009 SWITCH_ROOT(8)
can anybody tell me that whether oracle 8i is installable on redhat 7.0/7.1. for me it is only working successfully on redhat 6.1 but not later versions
cheers (3 Replies)
Hi,
I have a little and very annoying problem.
I want to mount a partition so that most of the files would be owned by a user, then an ftp dir with special previliges set up, and some of the files having write access for all users.
I can't do it anyhow. Right now i have this line in... (3 Replies)
I want to download redhat 7.3 and came to this download mirror: ftp://carroll.cac.psu.edu/pub/linux/distributions/redhat/redhat/redhat-7.3-en/iso/i386/
I was hoping thats the right dir, cuz i already downloaded all the iso's in there, but could someone tell me what the difference between... (7 Replies)
I am wondering if anyone has copies (or can burn me a copy) of RedHat Linux.
I will pay shipping charges...
I don't have a CD burner and i dont want to run it off of my hard drive...
please email me at:
empireinfo623@yahoo.com
or
baldwitm@muc.edu (5 Replies)
Alright, so I'm interested in using Unix, but I have a couple of pretty basic questions:
1) What's the relationship between Linux and Unix? Are they one and the same, or completely different?
2) Can you use Unix on a laptop?
and
3) Where can you get Unix?
Thanks for listening. (9 Replies)
:confused:
I am using Linux for a while and now changed to slackware for my study and it is not as good as redhat everytime when you add this or that it needs either configure modules or recompile kernel
Now I changed from PS/2 mouse to USB trouble starts it refuse to work I know I can... (3 Replies)
Where do you download redhat free edition and how do you use some of it's tools. This confuses me when I am working on a customers computer. I know how to use Linux and everything else. I know how to use redhat but I need to know if anyone knows how to use the tool on redhat pro zzknetmonitor.exe?... (6 Replies)
folks;
I have 3 similar Linux SUSE 10 servers A, B & C
I log as root and when i'm on B server & try to mount a directory on A server it works fine, but when i try to mount the same directory when i'm on C it doesn't and i get this error:
Server C# mount 172.32.5.2:/var/local/export/... (4 Replies)
i am using redhat 5.4 and my root size shows 98 %, how can i increase root size
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 77G 16G 75G 98% /
/dev/sda1 2.4G 82M 2.2G 4% /boot
tmpfs 3.8G 0 3.8G 0%... (8 Replies)
hey all,
i', new and i'm need many protections:
Protections for VpS Server linux Centos.
protection DDoS
protection CronJobs
protection FireWall
protection Brute Force
protection for directadmin
Thanks For Give..
and how i save config in root?
All thanks helpers. (9 Replies)
Calling all Linux GURU's.
The purpose of this thread is to try an recreate what we already have stood up in my environment, however the steps i am having to produce my own.
I have got multiple applications that dump the data to various LUNs, the LUNs are managed by an Enterprise SAN... (11 Replies)