X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fpython%2Fyaffs_browser.py;h=effe5a3fd14033652748b8051451ba4ed20b98af;hp=23fa936882dafacea81e0f19bdee68612d6e87f8;hb=716faf42637fc29ca3d2510d8a47fb2516f794e1;hpb=b8cbfed7294153e2e709dd6d7608bbada3da50f0 diff --git a/direct/python/yaffs_browser.py b/direct/python/yaffs_browser.py index 23fa936..effe5a3 100755 --- a/direct/python/yaffs_browser.py +++ b/direct/python/yaffs_browser.py @@ -1,10 +1,23 @@ #!/usr/bin/python +## +## YAFFS: Yet Another Flash File System. A NAND-flash specific file system. +## +## Copyright (C) 2002-2010 Aleph One Ltd. +## for Toby Churchill Ltd and Brightstar Engineering +## +## Created by Timothy Manning +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License version 2 as +## published by the Free Software Foundation. +## + import Tkinter as tk from yaffsfs import * #import examples import ctypes -yaffs_StartUp() +yaffs_start_up() yaffs_mount("/yaffs2/") root_window =tk.Tk() root_window.title("YAFFS Browser") @@ -88,6 +101,7 @@ class editor(): def load_dir(): global current_directory_dict print "loading a new directory*******************************************************************" + ##deleate current items in text box name_list_box.delete(0, tk.END) current_directory_dict=yaffs_ls(mount_list_text_variable.get()) print "new directory", current_directory_dict