Also:

| root@playbox01:~# find test/ -ls
|    141829      4 drwxr-xr-x   3 root     root         4096 Oct 21 10:35 test/
|    142591      4 -rw-r--r--   1 root     root           22 Oct 20 11:11 
test/in
|    142621      4 drwxr-xr-x   2 root     root         4096 Oct 21 10:35 
test/test
|    142982      8 -rw-r--r--   1 root     root        12288 Oct 21 10:35 
test/test/in.db
| root@playbox01:~# rm -r test/test/
| root@playbox01:~# 
| root@playbox01:~# 
| root@playbox01:~# find test/ -ls
|    141829      4 drwxr-xr-x   2 root     root         4096 Oct 21 10:35 test/
|    142591      4 -rw-r--r--   1 root     root           22 Oct 20 11:11 
test/in
| root@playbox01:~# postmap ./test/in
| postmap: fatal: open database ./test/in.db: No such file or directory
| root@playbox01:~# mkdir test/test
| root@playbox01:~# find test/ -ls
|    141829      4 drwxr-xr-x   3 root     root         4096 Oct 21 10:35 test/
|    142591      4 -rw-r--r--   1 root     root           22 Oct 20 11:11 
test/in
|    142621      4 drwxr-xr-x   2 root     root         4096 Oct 21 10:35 
test/test
| root@playbox01:~# postmap ./test/in
| postmap: fatal: open lockfile ./test/in.db: No such file or directory
| root@playbox01:~# echo $?
| 1
| root@playbox01:~# find test/ -ls
|    141829      4 drwxr-xr-x   3 root     root         4096 Oct 21 10:35 test/
|    142591      4 -rw-r--r--   1 root     root           22 Oct 20 11:11 
test/in
|    142621      4 drwxr-xr-x   2 root     root         4096 Oct 21 10:35 
test/test
|    142982      8 -rw-r--r--   1 root     root        12288 Oct 21 10:35 
test/test/in.db


-- 
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/

Reply via email to