]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - debugfs/debugfs.c
debugfs: add symlink command
authorDarren Hart <dvhart@infradead.org>
Fri, 4 Jan 2013 20:00:59 +0000 (12:00 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 16 Jan 2013 19:09:20 +0000 (14:09 -0500)
commit4df6a37bd39c84ea67394ab5049bc82f14b929b5
treee156bcfc1fb457411db4419bfd672da22a291667
parentf01c1a6bce5e6674cbfa5260db1691bca01a4410
debugfs: add symlink command

Add support for symbolic links using a new symlink command.  Modeled
after the do_mkdir() command.

Testing demonstrates both fastlinks and slowlinks work correctly.
Very long target paths fail as the command parsing appears to truncate
the input to somewhere around 256 bytes.

Signed-off-by: Darren Hart <dvhart@infradead.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: Andreas Dilger <adilger@dilger.ca>
debugfs/debug_cmds.ct
debugfs/debugfs.8.in
debugfs/debugfs.c
debugfs/debugfs.h