EnglishFrenchSpanish

Ad


OnWorks favicon

dbd - Online in the Cloud

Run dbd in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dbd that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


dbd - CNID database maintenance

SYNOPSIS


dbd [-evx] {-d [-i] | -s [-c|-n] | -r [-c|-f] | -u} volumepath

DESCRIPTION


dbd can dump, scan, reindex and rebuild Netatalk dbd CNID databases. It must be run with
appropriate permissions i.e. as root. dbd -s|-r can be run on active volumes, but dbd
-rf, which wipes the db before rebuilding it, checks and enforces that the chosen volume
is not in use.

COMMANDS


-d
Dump CNID database. With -i dump indexes too.

-s
Scan volume:

· Compare CNIDs in database with volume

· Test if .AppleDouble directories exist

· Test if AppleDouble files exist

· Report orphaned AppleDouble files

· Report directories inside .AppleDouble directories

· Check name encoding by roundtripping, log on error

· Check for orphaned CNIDs in database (requires -e)

· Open and close adouble files

Options:
-c Don´t check .AppleDouble stuff, only check orphaned. -n Don´t open CNID
database, skip CNID checks, only traverse filesystem

-r
Rebuild volume. With -f wipe database and rebuild from CNIIDs stored in
AppleDouble files.

· Sync CNIDSs from database with volume

· Ensure .AppleDouble directories exist

· Ensure AppleDouble files exist

· Delete orphaned AppleDouble files

· Report directories inside .AppleDouble directories

· Check name encoding by roundtripping, log on error

· Delete orphaned CNIDs in database (requires -e)

· Open and close adouble files

Options:
-c Don´t create .AppleDouble stuff, only cleanup orphaned.

-f Wipe database and rebuild from IDs stored in AppleDouble files, only
available for volumes without nocnidcache option. Implies -e.

-u
Upgrade:

Opens the database which triggers any necessary upgrades, then closes and
exits.

OPTIONS


-e
Only work on inactive volumes and lock them (exclusive)

-x
Rebuild indexes (just for completeness, mostly useless!)

-v
verbose

WARNING


In order to be able to run -rf reconstructing the CNIDs in the database from the
AppleDouble files, make sure you´ve run a -r rebuild sometimes before, where the CNIDs
then would have been synched between database and AppleDouble files.

Also be careful about the option nocnidcache. Avoid this option if at all possible,
because if prevents you from being able to use -f.

CNID BACKGROUND


The CNID backends maintains name to ID mappings. If you change a filename outside afpd(8)
(shell, samba), the CNID db will not know and not reflect that change. Netatalk tries to
recover from such inconsistencies as gracefully as possible. The mechanisms to resolve
such inconsistencies may fail sometimes, though, as this is not an easy task to
accomplish. E.g. if several names in the path to the file or directory have changed,
things may go wrong.

If you change a lot of filenames at once, chances are higher that the afpds fallback
mechanisms fail, i.e. files will be assigned new IDs, even though the file hasn´t changed.

Use dbd online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    turkdevops
    turkdevops
    TurkDevOps a?k kaynak yaz?l?m
    geli?tirici topluluklar? DevTurks-Team
    Taraf?ndan desteklenmektedir..
    Features:https://github.com/turkdevopshttps://turkdevops.g...
    Download turkdevops
  • 2
    Wine
    Wine
    Wine is an Open Source implementation
    of the Windows API on top of X and Unix.
    Wine provides both a development toolkit
    for porting Windows sources to Unix and...
    Download Wine
  • 3
    LAME (Lame Aint an MP3 Encoder)
    LAME (Lame Aint an MP3 Encoder)
    LAME is an educational tool to be used
    for learning about MP3 encoding. The
    goal of the LAME project is to improve
    the psycho acoustics, quality and speed
    of MP...
    Download LAME (Lame Aint an MP3 Encoder)
  • 4
    wxPython
    wxPython
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 5
    packfilemanager
    packfilemanager
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 6
    IPerf2
    IPerf2
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 7
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • More »

Linux commands

Ad