can't cleanup /proc/swaps without rebooting ?

From: Jacky Malcles
Date: Thu Jan 11 2007 - 09:59:53 EST


hi All,

Please could you cc me because I'm not subscribed.


is there a way, other than rebooting, to clean up /proc/swaps ?

I'm in this situation (due to testing errors),
# cat /proc/swaps
Filename Type Size Used Priority
/dev/sdc1 partition 2040064 0 -1
/tmp/swaH4mvTI/swapfilenext\040(deleted) file 48960 0 -31
/tmp/swa5TlBva/swapfilenext\040(deleted) file 49088 0 -118
#
# swapon -s
Filename Type Size Used Priority
/dev/sdc1 partition 2040064 0 -1
/tmp/swaH4mvTI/swapfilenext\040(deleted) file 48960 0 -31
/tmp/swa5TlBva/swapfilenext\040(deleted) file 49088 0 -118
#

many thanks,

--
Jacky Malcles B1-403 Email : Jacky.Malcles@xxxxxxxx
Bull SA, 1 rue de Provence, B.P 208, 38432 Echirolles CEDEX, FRANCE
Tel : 04.76.29.73.14
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/