tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
DKWEDGE_METHOD_BSDLABEL and cgd
I'm just testing setting DKWEDGE_METHOD_BSDLABEL on my laptop so all
the filesystems show up as /dev/dkN. I sometimes use the disk in an
external USB caddy and this allows me to use dkN in fstab and cgd.conf
rather than having to swap between wd0N and sd0N.
My only issue is I needed to set the fstypename for the cgd partition
to *something* to get dk4 to autoconfigure. I picked ccd. Is there any
sense in adding cgd to the fstypename list in disklabel(5)?
For anyone interested - relevant lines from dmesg
wd0 at atabus1 drive 0: <WDC WD3200BEVT-22ZCT0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
dk0 at wd0: wd0a
dk0: 67109616 blocks at 215544105, type: ffs
dk1 at wd0: wd0b
dk1: 4195296 blocks at 282653721, type: swap
dk2 at wd0: wd0e
dk2: 204796557 blocks at 63, type: ntfs
dk3 at wd0: wd0f
dk3: 10747485 blocks at 204796620, type: msdos
dk4 at wd0: wd0g
dk4: 338288328 blocks at 286849017, type: ccd
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)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
findroot: unable to read block 215544106
findroot: unable to read block 215544106
findroot: unable to read block 215544106
findroot: unable to read block 215544106
boot device: dk0 (wd0)
root on dk0 dumps on dk1
root file system type: ffs
ugen0 at uhub3 port 2
ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
dk5 at cgd0: cgd0b
dk5: 4194304 blocks at 0, type: swap
dk6 at cgd0: cgd0e
dk6: 334094024 blocks at 4194304, type: ffs
and relevant lines from dmesg
/dev/dk0 / ffs rw,log,noatime,nodevmtime 1 1
# /dev/dk1 none swap sw # Unencrypted
/dev/dk2 /win ntfs rw,noauto # TrueCrypt
/dev/dk3 /mnt msdos rw,noauto
# /dev/dk4 cgd
/dev/dk5 none swap sw
/dev/dk6 /home ffs rw,log,noatime,nodevmtime 1 2
ptyfs /dev/pts ptyfs rw
proc /proc procfs rw,linux
kern /kern kernfs ro
${foo}:/files/netbsd /files/netbsd psshfs rw,noauto
${foo}:/home /home/nfs psshfs rw,noauto
Home |
Main Index |
Thread Index |
Old Index