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)

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.

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

thanks a lot