How to remove a device file on solaris?
A device file was created as a result of running the Veritas qiomkfile command:
# cd /sybase/k2rpt_sql/TOR_K2RPT_UAT/sybase_devices # /opt/VRTS/bin/qiomkfile -s 2000m log06.dat.qio # ls -l log06.dat.qio lrwxrwxrwx 1 root root 26 Sep 18 10:29 log06.dat.qio -> .log06.dat.qio::cdev:vxfs: # ls -l .log06.dat.qio::cdev:vxfs: crw-r--r-- 1 root root 283, 35 Sep 18 10:29 .log06.dat.qio::cdev:vxfs:
Now I want to remove the link and the device file. I used the rm command. the link was deleted but the device file is still there. the rm command for the device file return no error message.