NetBSD-Users archive

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

Re: savecore: can't find device



On Wed, 20 May 2026 08:29:34 +0100
Sad Clouds <cryintothebluesky%gmail.com@localhost> wrote:

> Does anyone know if there are potentially undocumented issues with
> savecore(8) when using swap on LVM volumes on top of CGD?
> 
> # savecore -n
> savecore: can't find device 194/1
> 

I think the bug with savecore(8) is that it does not descend into
subdirectories under /dev

# ktruss savecore -n | grep -e vg -e mapper
savecore: can't find device 194/1
  5611   5611 savecore __lstat50("/dev/mapper", 0x7f7fff391210) = 0
  5611   5611 savecore __lstat50("/dev/vg0", 0x7f7fff391210) = 0

See find_dev() in src/sbin/savecore/savecore.c


Home | Main Index | Thread Index | Old Index