commit | 07cefe7a7051e32f14b93d9003a6dbb308597bd3 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Dec 24 15:20:22 2001 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Dec 24 15:20:22 2001 -0500 |
tree | 63a750c88c8031edca5051faa64d9eb86d922cdd | |
parent | 3ed57c27df0ba0942a19c71bc065c8eec3036567 [diff] |
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!