01-01-2009
Someone in the Legend mailing list just pointed me to a command I'd never heard of. Anyone can run it, but only root will get any output from it:
getlclfsdev
Once you know that it's /dev/dsk/whatever, you can either mount that and make a filesystem on it, or tar to it, or whatever else you wish.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I tried to install Magneto-Optical (MO) drive Fujutsu to COMPAQ Proliant ML350 with SCO Openserver 5.0.5. Harddisk and MO are connected to Adaptec UW-SCSI-3 (driver ad160).
During boot process system shows me that MO is connected to host adapter 1, bus 0, SCSI ID 1 and LUN 0. But when I... (2 Replies)
Discussion started by: yurist
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I need information or tooling for using my USB pen drive (DANE-ELEC) in a unix environment.
Until now I only get the "format window" in the unix machine but after giving OK for running the format, it never stops and I have to stop it manually.
Seems that what I need is format my... (0 Replies)
Discussion started by: Argento73
0 Replies
3. Debian
hello,
I want to install minimal linux on 128MB pen drive.
distro is debian.
what all should i need? (2 Replies)
Discussion started by: yogesh_powar
2 Replies
4. SCO
Situation - i have an IDE hard drive from server apparently running SCO last used in 2003. No access to computer it was formerly in. I need to access the drive to pull off data files from a billing/scheduling program. I have no SCO machine or access to one atm. Have some limited Linux... (3 Replies)
Discussion started by: lordlars1
3 Replies
5. SCO
Hi,
Does anyone know if a HP VS160 Tape drive will work with SCO Openserver Release 5?
If so what driver would it use? alad, cha?
Thanks
John (3 Replies)
Discussion started by: jfd7000
3 Replies
6. BSD
Hi there,
I am using freebsd 7.0 and I am facing a lot of issues with it. The cd installed fine. I opted for the gnome desktop and tht too installed (though the refresh rates were wrong and the resloution got messed up). After some configurations the desktop was working fine.
Then came the... (5 Replies)
Discussion started by: jedidiah
5 Replies
7. Linux
Hello Friends,
My pendrive (FAT32 filesystem) consist of following files+viruses.
-rwxr-xr-x 1 chinmay root 0 2010-03-10 01:29 autorun.inf
dr-xr-xr-x 2 chinmay root 4096 2010-03-09 23:51 Docs
-rwxr-xr-x 1 chinmay root 4726162 2010-03-08 15:02 java_ee_sdk-5_03-javadocs.zip... (4 Replies)
Discussion started by: catchchinu1
4 Replies
8. SCO
One hard disk fail to mount (/dev/data). I had run "fsck /dev/data" then some error occured "unrecoverable error reading SCSI Disk 1 dev 1/104".
I need to recover data from disk. please help. (1 Reply)
Discussion started by: rakeshkumar9919
1 Replies
9. Red Hat
Anyone can plz tell me how to make pendrive bootable.unetbootin dont have option for red hat (0 Replies)
Discussion started by: shamapraveen
0 Replies
10. SCO
I have a server unix Sco 5.0 and copy some backup files to flopy drive using command "Tar", but i like copy this files to pen drive, is possible ? my know about Sco is less.
Tks (1 Reply)
Discussion started by: ger2112
1 Replies
chroot(1M) System Administration Commands chroot(1M)
NAME
chroot - change root directory for a command
SYNOPSIS
/usr/sbin/chroot newroot command
DESCRIPTION
The chroot utility causes command to be executed relative to newroot. The meaning of any initial slashes (/) in the path names is changed
to newroot for command and any of its child processes. Upon execution, the initial working directory is newroot.
Notice that redirecting the output of command to a file,
chroot newroot command >x
will create the file x relative to the original root of command, not the new one.
The new root path name is always relative to the current root. Even if a chroot is currently in effect, the newroot argument is relative to
the current root of the running process.
This command can be run only by the super-user.
RETURN VALUES
The exit status of chroot is the return value of command.
EXAMPLES
Example 1: Using the chroot Utility
The chroot utility provides an easy way to extract tar files (see tar(1)) written with absolute filenames to a different location. It is
necessary to copy the shared libraries used by tar (see ldd(1)) to the newroot filesystem.
example# mkdir /tmp/lib; cd /lib
example# cp ld.so.1 libc.so.1 libcmd.so.1 libdl.so.1 libsec.so.1 /tmp/lib
example# cp /usr/bin/tar /tmp
example# dd if=/dev/rmt/0 | chroot /tmp tar xvf -
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
cd(1), tar(1), chroot(2), ttyname(3C), attributes(5)
NOTES
Exercise extreme caution when referencing device files in the new root file system.
References by routines such as ttyname(3C) to stdin, stdout, and stderr will find that the device associated with the file descriptor is
unknown after chroot is run.
SunOS 5.10 15 Dec 2003 chroot(1M)