---
name: "dbd"
section: "1"
platform: "linux"
package: "netatalk-tools"
version: "4.2.3~ds-1+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dbd"
---

# dbd(1)

CNID database maintenance

## Name

dbd — CNID database maintenance

## Synopsis

**dbd** \[-cfFstuv\] \[*volumepath*\]

**dbd** \[-V\]

## Description

**dbd** scans all file and directories of AFP volumes, updating the CNID database of the volume. It must be run with appropriate permissions i.e. as root.

## Options

- **-c**

  convert from *AppleDouble v2* to *EA* filesystem metadata

- **-f**

  delete and recreate CNID database

- **-F**

  location of the *afp.conf* config file

- **-s**

  scan volume: treat the volume as read only and don’t perform any filesystem modifications

- **-t**

  show statistics while running

- **-u**

  username for use with AFP volumes using user variable $u

- **-v**

  verbose

- **-V**

  display version info

## CNID background

The CNID backends maintains name to ID mappings. If you change a filename outside [**afpd**(8)](/afpd/8.md) (shell, samba), the CNID database will not reflect that change. Netatalk tries to recover from such inconsistencies as gracefully as possible.

## See also

[cnid\_metad(8)](/cnid_metad/8.md), [cnid\_dbd(8)](/cnid_dbd/8.md)

## Author

Contributors to the Netatalk Project (https://netatalk.io/contributors)
