DragonFly BSD
DragonFly bugs List (threaded) for 2004-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: pstat / swapinfo prints wrong output


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jan 2004 11:15:53 -0800 (PST)

:[eirik@dfbsd sys]$ swapinfo
:Device          1K-blocks     Used    Avail Capacity  Type
:/dev/rad0s4b       307072        0   307072     0%    Interleaved
:     ^
:   Where does this 'r' come from?
:..
:--=20
:Eirik Nygaard
:eirikn@xxxxxxxxxxxx

    The 'r' is historical, and can be removed.  'r' used to mean 
    'raw', as in 'raw character device', whereas the device without the
    'r' meant block device.  When block devices were removed all the
    device names basically became character devices and it was decided
    that the base name should be used instead of the 'r' prefixed name.

    If you want to remove it, please do!  Be careful, there might still
    be code in various userland programs and/or the kernel that expect
    the 'r' (but I think it's all gone by now.  I hope!).

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]