The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 05:12 PM
how to? launch command with string of command line options TinCanFury Shell Programming and Scripting 5 04-28-2008 03:06 PM
inconsistent ls command display at the command prompt & running as a cron job rajranibl Linux 5 07-30-2007 05:26 AM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr HP-UX 1 10-16-2006 01:16 PM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr Shell Programming and Scripting 0 09-19-2006 06:44 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2006
Registered User
 

Join Date: Jul 2006
Posts: 27
Stumble this Post!
command help

Anybody pls let me know what is the impact of the command
rm -rf/cdrom/*
&
/etc/init.d/volmgt start(what is this volmgt)
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-07-2006
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,310
Stumble this Post!
volmgt is the volumemanagement for removeble media as cdrom for example... the directory /cdrom is the automount directory for your cds that you insert into the cdrom drive. when a cd is stuck try to stop volmgt with "etc/init.d/volmgt stop" and eject the ch manualy. otherwise youse "eject cdrom" to reomve the cd from your drive.
Reply With Quote
  #3 (permalink)  
Old 12-07-2006
Registered User
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 395
Stumble this Post!
And rm -rf /cdrom/* will delete all the files in that directory assuming the directory or mounted file system is read-write. In general, a CD is mounted there automatically and CDs are read-only so trying to rm files in that directory will fail. Of course if you've NFS mounted something there or mounted another writeable file system there, you'll delete all the files you have write access to.

Carl
Reply With Quote
  #4 (permalink)  
Old 12-08-2006
Registered User
 

Join Date: Jul 2006
Posts: 27
Stumble this Post!
thanks a lot
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0