03-26-2011
I want to create a ram disk when the system boots. The following is the command:
diskutil erasevolume HFS+ 'ramdisk' `hdiutil attach -nomount ram://262144`
Everytime I want to create a ram disk, I have to execute this command. Now I am wondering if there is a way to executing this command during system startup.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I have an AIX 433 workstation that keeps booting into command mode. It was booting into CDE for a long time now. Suddenly now it boots into command line mode. No errors while booting up. Do not see anything in errpt. Don' t know where to start from.. Can any one please help me..thanks.
... (2 Replies)
Discussion started by: navinxavier
2 Replies
2. AIX
Hi Folks,
I have an AIX server and I would like the server to run the command saprouter -r at every system restarts. It needs to be run by a specific user. How would I do that?
Thanks!!! (1 Reply)
Discussion started by: brookingsd
1 Replies
3. UNIX for Advanced & Expert Users
How to remotely execute a script (.COM ) on a VMS system ?
rsh ?
Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies
4. Programming
Hello,
I 've trie to execute a a program with parameters unsuccessfully and i take the above message :
"The system cannot find the path specified."
I used a variaton of the above command :
system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\"");
Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies
5. Shell Programming and Scripting
Hi All,
I want to execute a piped command like 'ls /opt | grep xml' using array as parameters list. How can I do that? (2 Replies)
Discussion started by: bharadiaam
2 Replies
6. Shell Programming and Scripting
Hi,
I have a shell script in systemA and another shell script in systemB.
when I execute the script in systemA, it should call the another script in systemB.
Please tell me the way to do this.
Thanks,
Raja. (3 Replies)
Discussion started by: smr_rashmy
3 Replies
7. Ubuntu
hey all,,
I want to add comments when Ubuntu starts up..
now I know that there is a directory called /etc/init.d
which I can place my scripts there to run them at Ubuntu's startup..
but I prefer if there would be a file which runs when Ubuntu starts!!
because it is only one command. not... (2 Replies)
Discussion started by: eawedat
2 Replies
8. Solaris
I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin:
# svcs -xv
svc:/network/rpc/bind:default (RPC bindings)
State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies
9. Red Hat
hi guys,
booting centos7 and use systemd execute system command ulimit -SHn 202400 is fail.i dont know what's reason.can you give me help.
------------------------------------------
set-ulimit.service
Description=test service
After=systemd-update-utmp-runlevel.service #the last... (1 Reply)
Discussion started by: shean
1 Replies
LEARN ABOUT DEBIAN
bootcdflopcp
BOOTCD(1) bootcd utils BOOTCD(1)
NAME
bootcdflopcp - copy changes made after booting from bootcd to floppy
SYNOPSIS
bootcdflopcp [-v] [-d <device>]
DESCRIPTION
bootcdflopcp will copy changes made in ram to the floppy disk. bootcdflopcp will be available as soon as your system is running from cd.
The floppy has to have a filesystem already. (See mke2fs or mformat). If you have to boot from floppy, because your cd-drive or bios does
not support to boot from cd a msdos filesystem is used to run syslinux. When bootcdflopcp is called it searches for differences between
RAM and CD. For each different file, it checks if it is listed in the files ignore, remove or change on floppy. If it is listed in change
it will be saved to change.tgz on floppy. If it is listed in remove the file will be removed from ram next boot time. If it is listed in
ignore it will be ignored. If it is not listed at all you will be interactively asked what to do.
OPTIONS
-v The option "-v" (verbose) adds messages on running.
-d <device>
Use another device instead of "/dev/fd0" to save changes.
FILES
FLOPPY:/remove
If a file is listed here the file will be deleted from ram next boot time.
FLOPPY:/change
If a file is listed here bootcdflopcp will save it in change.tgz.
FLOPPY:/ignore
If a file is listed here bootcdflopcp will ignore changes to this file.
FLOPPY:/change.tgz
Here all changed files are stored in gzipped tar format.
SEE ALSO
bootcd(1), bootcd2disk(1), bootcdwrite(1)
AUTHOR
This manual page was written by Bernd Schumacher <bernd.schumacher@hp.com>, for the Debian GNU/Linux system (but may be used by others).
Wed Feb 23 00:00:00 EET 2000 BOOTCD(1)