Because the i'm trying to get the tar file onto the Unix System, I will have to write it to a floppy from another computer.
I have a Ubuntu system, but it has no floppy. I tried using rawrite from Windows to just write the tar file to a disk. If i try to extract files from it using
I just get the message
Should I try and create a raw floppy containing the contents of the tar file, or try and put a filesystem on the floppy and copy the tar file itself to the hard drive and then extract?
Hi...
question is this:
How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure.
... (4 Replies)
My FreeBSD install at ad0s1, and Windows 2000 at ad2s1.
Everytime I start my FreeBSD, it shows me this message:
fdc0: cmd 3 failed at out byte 1 of 3
pmtimer 0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
My Floppy drive info:
0x03F2 - 0x03F3
0x03F4 - 0x03F5
0x03F7 - 0x03F7... (6 Replies)
Anybody know how to mount a floppy in BSDi3 UNIX? Have tried all the standard commands with no luck. This includes:
mount /dev/fd0 /mnt/floppy
mount /mnt/floppy (3 Replies)
I have installed SUSE 10 on a laptop that has a swappable CDROM/Floppy drive. When I was installing the OS my CDROM was connected. Later I tried to swap it with the Floppy and mount it but no success. Here is what I get:
dell:/dev # mount -t msdos /dev/fd0 /mnt
/dev/fd0: Invalid argument
... (0 Replies)
Hi there,
I never touch a AIX because i'm used to work on FreeBSD.
I'll have to copy some file from a floppy to an AIX.
Just to be sure is the mount command the same ?
I mean a simple
mount /dev/fd0 /floppy should work ?
Thanks :) (1 Reply)
Hi, I would like to be able to mount windows xp to a unix system, so that I can pull data from windows machine for backup and store it on the unix server. Does anyone know how I can go about mounting the windows drive in unix.
Thanks,
Eric (4 Replies)
I have inserted a diskette but I don't see the files nor the floppy drive.
These are the commands I ran.
#volcheck -v
#rmformat
With rmformat, only the CD-ROM is listed. I don't see any floppy drive.
How can I get my floppy drive to work?? I know it is connected b/c when I boot in XP, I... (0 Replies)
We are trying to mount a Unix share drive on a Windows 2003 server to avoid transfering files accross the network using sftp. I can see shared drives on the Solaris server using the "share" command. How can I mount the drives on my Windows server so that I can read them directly. Do I need... (2 Replies)
Discussion started by: rbdenham
2 Replies
LEARN ABOUT OPENSOLARIS
chroot
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.11 15 Dec 2003 chroot(1M)