Ryusuke Konishi ea6b9b84fd bin: allow specifying filesystem node instead of device
Update chcp, dumpseg, lscp, lssu, mkcp, and rmcp to use the new
NILFS_OPEN_SRCHDEV open flag.

This enables these tools to accept a regular file or directory path on
the target filesystem in addition to a block device node.  When a
filesystem node is specified, the library automatically resolves the
underlying block device.

The usage messages for these commands are updated to reflect that a
"node" can be specified.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
2026-01-21 20:53:35 +09:00
..