[illumos-Developer] Device type of my rpool is 'devfs' instead of 'zfs'

Vitaliy Gusev gusev.vitaliy at nexenta.com
Mon Jul 11 08:20:52 PDT 2011


Hello!

On 07/06/2011 06:44 AM, Harshit Jain wrote:
> Hi,
>
> I have openindiana installed on vmware. 'format' command displays
> '/dev/dsk/c1d0s0 is part of active ZFS pool rpool'. However, when I use
> stat("/dev/dsk/c1d0s0",&st) st.st_dev returns ID of device 145752064 which
> matches to 'devfs' fs-type. I want to know why I am getting fs-type as
> 'devfs' instead of 'zfs' ?

Because file

       /dev/dsk/c1d0s0

is on "dev" filesystem that was mounted to "/dev".

---
Thanks
Vitaliy Gusev






More information about the Developer mailing list