On 25/08/17 11:40, Carlos E. R. wrote:
On 2017-08-25 11:04, Richmond wrote:
Have you done a file system check on the partition?
I wonder if the file name is linked, via the ln command, to a different non-existent file. (But I don't know a command to see that information).
-rwxr-xr-x 1 user users 3147776 Dec 16 2016 image1.jpg
The '1' means no hard link.
Plus a hard link doesn't stop rm from working. Each file has a unique id - the inode number. A directory entry is simply a means of linking a human-friendly name to a computer-friendly file-id. Think dns linking domain names to ip addresses. So "deleting" a file simply means removing the file name from the directory. (Behind the scenes, the inode link count then gets decremented, and if it (along with the file open count) hits zero the file is then freed. Which is why *nix is quite happy to delete open files - the directory entry disappears, and then when any open file pointers disappear, so does the file itself.) Cheers, Wol -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org