Whamcloud - gitweb
ismounted.c (is_swap_device): New function used by
authorTheodore Ts'o <tytso@mit.edu>
Mon, 24 Dec 2001 20:20:22 +0000 (15:20 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 24 Dec 2001 20:20:22 +0000 (15:20 -0500)
commit07cefe7a7051e32f14b93d9003a6dbb308597bd3
tree63a750c88c8031edca5051faa64d9eb86d922cdd
parent3ed57c27df0ba0942a19c71bc065c8eec3036567
ismounted.c (is_swap_device): New function used by
ext2fs_check_if_mounted and ext2fs_check_mount_point which
determines whether or not the specified device is a swap
device by using /proc/swaps.  More bulletproofing for
idiotic/careless system administrators!
TODO
lib/ext2fs/ChangeLog
lib/ext2fs/ext2fs.h
lib/ext2fs/ismounted.c