[pacman-dev] [feature request] ignore lost+found in /var/lib/pacman when running -Sc
solstice.dhiver at gmail.com
Sun Jul 20 03:45:56 EDT 2008
i am running pacman db inside a loop (humm to speed up some pacman operation)
and when i run pacman -Sc (or -Scc); i got
Do you want to remove unused repositories? [Y/n] y
Do you want to remove /var/lib/pacman/lost+found? [Y/n] n
it's because i have a lost+found directory in /var/lib/pacman because it's the
root of a filesystem.
i find the question annyoing, as lost+found is NOT an unused repository.
may be you could just ignore lost+found (on -Sc) so that the last question
above is not asked ? that will be be really unfortunate if a real repo uses
so simply do not ask the user.
on the other hand, as the user is asked about that where is the problem ?
if ever there are some files in lost+found, he/she would have still plenty of
time to fix it because he/she has to run manually a -Sc command. and if there
is a problem the first to do is not to run -Sc !
a good or bad idea ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 812 bytes
Desc: not available
More information about the pacman-dev