These look like Solaris devices by the naming convention. Linux does not
have raw devices that I know of. Does anyone else know differently.

JP

Glynn Clements wrote:
> 
> 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