First, I'm not a Solaris user so this may not apply.
What kind of hardware are you dealing with? Particularly hard drives and hard drive controllers. To write stuff to an external drive you need to have it connected to a controller and the operating system needs to be aware of the drive and have it attached to the filesystems.
In the SCO world, using SCSI hard drives for the system, it is a matter of using mkdev to create the mount points for hardware then rebooting to get the hardware stuff in place, use mkdev again to condition the hard drive, mkdev again for filesystem creation and let it mount the newly created filesystem. Then it is a matter of copying stuff to the new location. In this regard the external hard drive is no different from an internal drive.
Moving the hard drive off the system is an issue of disconnecting the filesystem and taking it away via umount.
Putting the hard drive back on the system uses mount.
You'll probably get more specific help from a Solaris user.
Edfair, thanks a lot for your time and efforts. But to be honest with you, i am a new user as well, its just that i work in Ireland and my client is in germany. now they get the live feeds from the network and i want to go on site to get these feed files for internal /analytical use.
Well, we re both working on a solaris platform. The hardware might vary a little bit but i dont think it should be an issue. I just wanted to know the general way of copying files to an external HD.
Assuming that the OS and hardware are ready for it, setup as the drive name ext and the mount point /etc the SCO way would be:
mount /dev/ext /ext
cp /sourcedirectory/* /ext
umount /ext
In preparing the external hard drive in SCO you give the hard drive area you are using another name, above and beyond the hardware mount names. This is partitioning , except called divvy.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.