04-07-2011
I am the only user of this machine. So I guess I will choose (1).
Could you give me an example? I would like to create a ram disk when system starts up, so that I can use it as a temp folder. The command is:
diskutil erasevolume HFS+ 'ramdisk' `hdiutil attach -nomount ram://262144`
Thanks!
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 CENTOS
new-kernel-pkg
NEW-KERNEL-PKG(8) System Manager's Manual NEW-KERNEL-PKG(8)
NAME
new-kernel-pkg - tool to script kernel installation
SYNOPSIS
new-kernel-pkg [-v] [--mkinitrd] [--rminitrd] [--dracut]
[--initrdfile=initrd-image [--depmod] [--rmmoddep]
[--kernel-args=args] [--remove-args=args]
[--banner=banner] [--multiboot=multiboot]
[--mbargs=mbargs] [--make-default] [--add-dracut-args]
[--add-plymouth-initrd] [--host-only]
<--install | --remove | --update | --rpmposttrans> <kernel-version>
DESCRIPTION
new-kernel-pkg is a tool used in packaging to automate the installation of a new kernel, including the creation of an initial ram filesys-
tem image, updating of bootloader configuration, and other associated tasks.
OPTIONS
-v Be verbose.
--mkinitrd
Create a new initial ram filesystem image.
--rminitrd
Remove an initial ram filesystem image.
--dracut
When creating a new initial ram filesystem image, use dracut(8) rather than mkinitrd(8). Used in conjunction with --mkinitrd .
--initrdfile=initrd-image
Use the specified file as the initial ram filesystem image.
--depmod
Create modules.dep and related files.
--rmmoddep
Remove modules.dep and related files.
--kernel-args=args
Use args as the boot command line for this kernel.
--remove-args=args
Remove specified kernel arguments for this kernel.
--banner=banner
Display banner as the banner text in the bootloader.
--multiboot=multiboot-image
Use multiboot-image as a multiboot image.
--mbargs=mbargs
Use mbargs as arguments to the multiboot image.
--make-default
Make this kernel the default boot option.
--add-dracut-args
Automatically generate dracut options and add them to the kernel command line.
--add-plymouth-initrd
Automatically add plymouth to the initial ram filesystem image.
--host-only
Make an initial ram filesystem image that is specific to the running system.
--install kernel-version
Install a new kernel.
--remove kernel-version
Remove an installed kernel.
--update kernel-version
Update the specified kernel.
--rpmposttrans kernel-version
Run the rpmposttrans for the specified kernel.
SEE ALSO
grubby(8) installkernel(8)
AUTHORS
Erik Troan
Jeremy Katz
Peter Jones
Wed Apr 14 2010 NEW-KERNEL-PKG(8)