Subject: listing all active CGD devices?
To: None <tech-security@netbsd.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-security
Date: 12/13/2006 14:06:35
Is there any way to list all active cgd devices?  I want to add
code /etc/apm/suspend to cgdconfig all such devices, but I don't know
what they are.  'cgdconfig -U' will unconfigure devices listed in a
given configuration file, but there's no requirement that only the
standard one be used.  (Yes, it would would work well for me, because I
know what I have; I'd like a more general solution.)  What I really
want is an analog to 'vnconfig -l'.  (Yes, I know that I have to do
'umount -f' first.)


		--Steve Bellovin, http://www.cs.columbia.edu/~smb