Micah L
Registered
The -P option when using rm is supposed to overwrite files before they are deleted. The man page, however, has this to say:
The -P option assumes that the underlying file system is a fixed-block file system. UFS is a fixed-block file system, LFS is not. In addition, only regular files are overwritten, other types of files are not.
Does anyone know whether or not HFS+ is a fixed-block file system? I managed to find this page with Google that would seem to suggest so, but I thought I should ask since it is pretty vague on the subject and is a little old. Also, I'd assume virtually every file is a "regular file," anyone have something to say contrary to this assumption? I started putting together a little Cocoa GUI wrapper to handle this, so obviously this is a pretty big issue since I need it to actually work .
The -P option assumes that the underlying file system is a fixed-block file system. UFS is a fixed-block file system, LFS is not. In addition, only regular files are overwritten, other types of files are not.
Does anyone know whether or not HFS+ is a fixed-block file system? I managed to find this page with Google that would seem to suggest so, but I thought I should ask since it is pretty vague on the subject and is a little old. Also, I'd assume virtually every file is a "regular file," anyone have something to say contrary to this assumption? I started putting together a little Cocoa GUI wrapper to handle this, so obviously this is a pretty big issue since I need it to actually work .