Block device

Max Laier max at love2party.net
Tue Nov 4 07:03:38 PST 2008


On Tuesday 04 November 2008 15:32:01 d_elbracht wrote:
> Hi list,
>
> can someone please explain, why
>  	stat -x /dev/da1
>
> show the SCSI-Drive as a character-device ?
>
> Also,   on the same device
>
> 	S_ISREG(st.st_mode) is false
>
> 	S_ISCHR(st.st_mode) is true

http://www.freebsd.org/doc/en/books/arch-handbook/driverbasics-block.html

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-stable mailing list