The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
URGENT: Script/Function needed to read text property files in block wise ysreenivas Shell Programming and Scripting 7 05-11-2009 03:08 AM
Urgent Help Needed: Installing Dual Boot Ubuntu karthikb23 Ubuntu 5 04-27-2008 01:54 AM
Copying files created after a specified date/time jm6601 Shell Programming and Scripting 2 11-28-2007 01:29 PM
Copying Files in the same order along with time stamps shyam.appalla Shell Programming and Scripting 2 12-04-2005 10:44 AM
Copying multiple directories at the same time using Unix JPigford UNIX for Dummies Questions & Answers 9 01-17-2005 05:16 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-27-2008
wrapster wrapster is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 193
urgent help needed!!in copying files to /tmp at boot time,pls help!

Hi all,

I am trying to boot a an OS from RAM...(its a opensolaris based distro)
For this i have picked up 2 key lib files that when copied to /tmp and mounted to respective places will do the job..
The sizes of these files combined comes upto 600mb.(i have 2gb ram)
Now i have also located the script that does the mounting of these 2 files (after a lofiadm)onto /usr and /mnt/<somedir> respectively.

Currently these files are directly lofiadm'd from the cdrom itself and then mounted,my quest is to copy it to /tmp, lofiadm it there and then mount

However when the script that mounts these files from cdrom is called that amount of swap space is not available(hence am not able to copy them to /tmp from tht file)

Can you please help me to find a work around?
Also i know that
1. /usr/lib/fs/tmpfs/mount swap tmp can do the job ,however at that moment tmpfs is not at all loaded from its path..
so what i did was to copy the binaries of mount(created a dir in that path called tmpfs and put this binary there)
so in the script i just called 1.
but its still not working, may i know what am doing wrong?
Also i was a bit skeptical about the usage of mount cmd to mount swap ,
would like to know if its right?

I require urgent help,as am a student and have my exams coming up
please assist

Thanks
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0