10-08-2007
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am using Redhat 9 Linux, and am trying to get my external usb drive mounted (fat32). If I look at the KDE Control panel, it lists a usb 2.0 storage device under "USB Devices" (also in /proc/bus/usb), and under "SCSI" as scsi1. I looked at /proc/scsi/usb-storage-0, and it lists it there also. What... (6 Replies)
Discussion started by: jeremiebarber
6 Replies
2. Linux
How do I mount a Windows 2K share on Redhat Linux?
I tried this: mount -t smbfs -o username=administrator,password=mypassword //machine/share
But it just returns the help for the mount command:( (3 Replies)
Discussion started by: Spetnik
3 Replies
3. Red Hat
*** I also posted this in the Unix general forum, but would like to get the Linux point of view. ***
Hello all -
I've searched this forum, but was unable to find out the info I need.
I'm trying to mount (nfs mount) a directory on another box from my Linux machine.
The mount point... (1 Reply)
Discussion started by: Heron
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,every one!I'm a new comer,and I'm form China.I have learnd UNIX only one year,so don't hesitate to point my error.Thank you…….! :p :p :p (4 Replies)
Discussion started by: main1984
4 Replies
5. Shell Programming and Scripting
Dear All,
I am sorry i am posting again my question . Please help me rather than getting angry at me ...
I want to find out number of fails from different files ..
The files are generated in diffenent directories .The directories are created date wise .
Example :... (11 Replies)
Discussion started by: getdpg
11 Replies
6. UNIX for Dummies Questions & Answers
Hi guys,
I have a redhat laptop and a sun solaris 8 server networked together
I created an nfs share on the sun server and backed up an image of the Redhat laptop to it.
The Hard disk size of the laptop is 40Gb but I have about 38Gb free space on the sun server. So I compressed the image... (9 Replies)
Discussion started by: Stin
9 Replies
7. SCO
please let me know how to mount the pendrive on the unixware (1 Reply)
Discussion started by: deepthi.s
1 Replies
8. Red Hat
Hi,
Please let me know whether I can mount a windows share on Redhat, which does not have Samba installed. The constraint is that I cannot install Samba .
Looking forward for a possible solution. (1 Reply)
Discussion started by: jksena
1 Replies
9. Linux
I'm trying to change the helo sent from one of my sendmail servers. It is sending out localhost.localdomain and i need it to send , Every time i change it, my sendmail blows up. It wont send new mail and it gives me the error of
Apr 13 17:19:03 localhost sendmail: o3E0J3F2012758: from=root,... (0 Replies)
Discussion started by: blackax
0 Replies
10. Red Hat
Hi all,
I have a server running Red Hat Linux 7.2 and a Windows file server. I have mounted certain paths from the Windows file server on to the Red Hat server. I can specify access privileges to folders that are visible to different users who have access to both Windows and Linux servers.... (0 Replies)
Discussion started by: mister_frostee
0 Replies
LEARN ABOUT POSIX
switch_root
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, /sys and /run 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
Display help text and exit.
-V, --version
Display version information 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
chroot(2), init(8), mkinitrd(8), mount(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 https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2009 SWITCH_ROOT(8)