NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: View flags used in wd device
On Wed, Oct 14, 2015 at 12:51:15PM +0200, Rocky Hotas wrote:
> Hi!
> The wd (4) manpage shows some examples of the flags used with a particular device.
> In the output of "mount" in my system there is the following line:
>
> /dev/wd0a on / type ffs (log, local)
>
> So, could this "wd0a" device be related to wd (4)?
it is
> And if it is, how can I view the flags actually used by the system for it?
The flags are defined in the kenrel config file, so you could see them
with:
config -x /netbsd
(if the config file has been embeeded in the kernel binary).
But most of the time the flags are set to 0 and the kernel autodetects the
modes to use. You can see this in the boot message:
armandeche:/#egrep ^wd /var/run/dmesg.boot
wd0 at atabus0 drive 0
wd0: <ST500DM002-1BD142>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index