Ramdisk already defined


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Ramdisk already defined
# 1  
Old 12-10-2008
Ramdisk already defined

I am trying to mount the ramdisk for sorting, and i get the message "ramdisk already defined." What exactly is /dev/ramdisk0 and is it safe to remove it?

# command
sudo -S mktd 60 <<EOF
initiate
EOF

# block of code for mktd
...
[ -e /dev/ramdisk0 ] && {
print "ramdisk already defined."
exit -1
}
...

Thanks,

- CB
# 2  
Old 12-15-2008
This is an OS-specific issue. Are you using Linux? If so, what is "mktd"? If not, which OS? If you are trying to mount it, why would you create the device node?
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to view Ramdisk Initialization Process

Dear all, I read some articles about initrd, but how to view this process in my computer :(? Is there anyway to display to the screen or write to the log file? (3 Replies)
Discussion started by: Hannibal2010
3 Replies

2. AIX

maximum size of a ramdisk on AIX 5.3

Hi, Do you know what is the maximum size I can use to create a ramdisk on AIX 5.3? I m pretty sure i've seen somewhere i can use more than 2 Gb but I can't remember where. I need to do some recommandations for one of my customer and they'll need to create a ramdisk of 20 Gb. Can this be done? ... (1 Reply)
Discussion started by: cedric hanquez
1 Replies

3. Ubuntu

initial ramdisk in ubuntu

hi everybody! i need your help! i have some problems with "initial ramdisk" (initrd). i did with instructions of the following link Linux initial RAM disk (initrd) overview but my initrd not run. after loading, it stopped,and failure notice : "ramdisk : compressed image found at block 0 no... (0 Replies)
Discussion started by: xikechamh
0 Replies

4. Shell Programming and Scripting

Sorting in ramdisk

Hi, I have sort command that sorts in ramdisk created by a script 'mktd' and later unmounted by script 'rmtd'. The platform is AIX. # code sudo -E mktd 44 # create ramdisk of size 44GB sort ... -k1,1 -2,2 ... # sort a file using the ramdisk on keys 1 and 2 sudo -E rmtd # unmount... (1 Reply)
Discussion started by: ChicagoBlues
1 Replies

5. Shell Programming and Scripting

how to modify ramdisk size,kinda urgent !!!

Hi all, I wanted to know how to modify the size of the ramdisk? I mean am manipulating a live cd ,for which the file am manipulating is within a ramdisk now due to size constraints i am unable to play around with some stuff.... currently the size of the ram disk is 64M... I would like to... (1 Reply)
Discussion started by: wrapster
1 Replies

6. Shell Programming and Scripting

how to create a ramdisk

Hi all, I wanted to make a ramdisk for a opensolaris distro. I have very little idea of how to create it? can anyone pls help me out? Is there any tutorial on creating it on the net??? Also can i make changes to the actual os itself by changing the scripts involved in ramdisk then use it to... (1 Reply)
Discussion started by: wrapster
1 Replies

7. UNIX for Dummies Questions & Answers

Unix ramdisk?

This may be a stupid question but I've noticed that there is quite a bit out there currently for a ramdisk on that Redmond company's OS. Is there a ramdisk made for Unix and if not, why? (6 Replies)
Discussion started by: keelba
6 Replies
Login or Register to Ask a Question