Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 15:51:00 +0100
From:      Max Laier <max@love2party.net>
To:        freebsd-stable@freebsd.org
Cc:        stable@freebsd.org, d_elbracht <d_elbracht@ecngs.de>
Subject:   Re: Block device
Message-ID:  <200811041551.00593.max@love2party.net>
In-Reply-To: <004901c93e8a$1b556500$639049d9@EC1a>
References:  <d3ea75b30811040612g3ba10a8fuf5551b730176acc2@mail.gmail.com> <004901c93e8a$1b556500$639049d9@EC1a>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811041551.00593.max>