tech-userlevel archive

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

Re: patch - cgdconfig do_all mode gracefully ignore detached devices



jhigh%netbsd.org@localhost (Jason High) writes:

>Hello NetBSD,

>When using cgdconfig in do_all mode (-C|-U), it will attempt to configure/unconfigure all devices specified in cgd.conf regardless of whether the device is attached or not (our use case is USB drives).

Wouldn't it be sufficient to just ignore ENXIO failures when trying
to configure ?

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index