commit | eefbc3fba0ab18da84d7b740d969dd42cd3b1cf0 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Mon Oct 22 06:43:51 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Mon Oct 29 14:21:20 2012 -0700 |
tree | 038b783c8efac14c0caffa128f37b77a48c9f407 | |
parent | 4f8662dcc2abaeaa8d4d54c7bbd170b053ea3443 [diff] |
fs: add filesystem switch libary, implement ls and fsload commands Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load}, and transparently handle either file-system. This scheme could easily be extended to other filesystem types; I only didn't do it for zfs because I don't have any filesystems of that type to test with. Replace the implementation of {fat,ext[24]}{ls,load} with this new code too. Signed-off-by: Stephen Warren <swarren@nvidia.com>