Salil Kumar wrote:

> > > I have the block device name for disk, I want to find out associated raw
> > > device name.
> >
> > What do you mean by the `raw device'?
> 
> I hope I got you correctly?We can access disk devices as raw/char and block
> devices.In the program  I have the Block device name with me
> and I want to get the char device name.
> e.g.
> block device:      /dev/dsk/c0t0d0s1
> char/raw device: /dev/rdsk/c0t0d0s1
> 
> as a simple solution I am adding a 'r' by parsing the text but this is not a
> complete solution, there is a possibility
> of a case where the raw device name is different.

What OS is this on? It doesn't look like anything that I've seen on
Linux.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to