integrating dpkg and system calls
Hi,
I'm working on a project (check out http://members.xoom.com/kurtkilg)
which involves making an easy-to-use Linux distribution. I was thinking
about integrating dpkg and the system calls, so that an attempt to modify
a file would first be checked in the database to make sure that no
programs will be disturbed. If they will be, it would return an error, and
the application would print out a warning. e.g.:
~# rm /bin/bash
Removing /bin/bash would break the following packages:
bash
system
Do you wish to go ahead and remove it (y/n)?y
~# _
What do you think?
--Max Eskin (max82@surfree.com)
http://scivault.hypermart.net: Ignorance is Impotence - Knowledge is Power
Reply to: