##// END OF EJS Templates
debugfs: display the tested path and mount point of the filesystem, if known...
Matt Harbison -
r35532:58803186 default
parent child Browse files
Show More
@@ -911,6 +911,8 b' def debugformat(ui, repo, **opts):'
911 @command('debugfsinfo', [], _('[PATH]'), norepo=True)
911 @command('debugfsinfo', [], _('[PATH]'), norepo=True)
912 def debugfsinfo(ui, path="."):
912 def debugfsinfo(ui, path="."):
913 """show information detected about current filesystem"""
913 """show information detected about current filesystem"""
914 ui.write(('path: %s\n') % path)
915 ui.write(('mounted on: %s\n') % (util.getfsmountpoint(path) or '(unknown)'))
914 ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no'))
916 ui.write(('exec: %s\n') % (util.checkexec(path) and 'yes' or 'no'))
915 ui.write(('fstype: %s\n') % (util.getfstype(path) or '(unknown)'))
917 ui.write(('fstype: %s\n') % (util.getfstype(path) or '(unknown)'))
916 ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no'))
918 ui.write(('symlink: %s\n') % (util.checklink(path) and 'yes' or 'no'))
General Comments 0
You need to be logged in to leave comments. Login now