Oracle Solaris File Systems and Disk Management (MOSC)

MOSC Banner

How to remove a device file on solaris?

edited Sep 24, 2013 1:52AM in Oracle Solaris File Systems and Disk Management (MOSC) 4 commentsAnswered
Hi experts,

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center