Sascha Hauer
f1bb89fd9e
fs: implement flush function
...
Once we have caching in file functions we need a way to sync
the the underlying devices.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-11 12:36:07 +02:00
Sascha Hauer
5c44e3af24
fs: remove unused field 'type' from struct fs_driver_d
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-04-11 12:36:07 +02:00
Sascha Hauer
2baeaf38f3
fs: replace broken dev_protect with protect_file function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:23:22 +02:00
Sascha Hauer
02ba8a0542
get rid of device ids
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:47 +02:00
Sascha Hauer
6459b135d9
Get rid of DEVICE_TYPE_FS usage
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-07-21 16:41:46 +02:00
Sascha Hauer
ee6d36a540
- introduce ioctl call
...
- pass open/close/lseek through to drivers
2008-06-06 09:30:48 +02:00
Sascha Hauer
ce172e152e
add ls -c and -l
2008-03-11 21:41:56 +01:00
Sascha Hauer
a1a747af7f
fix typo
2008-03-01 21:06:14 +01:00
sascha
3b6d6a45e7
- Implement tree structure for devices
...
- Use device tree structure to implement partitions
- Let devinfo print a nice tree
- Introduce 'fixed' partitions which are not removable
- Fix mount: It was not possible to mount on a relative path.
2007-10-19 08:45:57 +02:00
Sascha Hauer
79ed00ba92
pass file size from read_file
2007-09-27 16:33:35 +02:00
Sascha Hauer
46d5705395
implement mkdir -p
2007-09-27 11:59:18 +02:00
Sascha Hauer
f132b2e073
- change function declarations for better standard conformity:
...
int open(const char *pathname, int flags);
-> int open(const char *pathname, int flags, ...);
int mkdir(const char *pathname);
-> int mkdir(const char *pathname, mode_t mode);
2007-09-24 17:03:20 +02:00
Sascha Hauer
056a695c15
implement flash protection
2007-07-16 10:29:28 +02:00
Sascha Hauer
665291e693
implement memmap().
...
With this function we can get a pointer to directly memory mapped
devices like nor flash or RAM. Useful for bootm where we save one
memcopy when the image is mappable
2007-07-15 13:50:04 +02:00
Sascha Hauer
a46f705cd9
svn_rev_634
...
add comments
2007-07-05 18:02:12 +02:00
Sascha Hauer
e2f1a28306
svn_rev_605
...
make read_file global
2007-07-05 18:02:09 +02:00
Sascha Hauer
5a6358dcd0
svn_rev_453
...
add erase function
2007-07-05 18:01:55 +02:00
Sascha Hauer
e694adc6a4
svn_rev_420
...
- do more POSIX:
- use DIR instead of struct dirent
- use (struct dirent)->d_name instead of (struct dirent)->name
- switch to a new layout for U_BOOT_CMD:
- use C99 initializers to be able to add more fields to the
command struct
- add aliases for commands (needed mainly for help -> ? and test -> [
- This is not done for all commands yet, but the compiler will tell you ;)
2007-07-05 18:01:52 +02:00
Sascha Hauer
014678f7a0
svn_rev_406
...
let normalise path allocate the string instead of changing the original one
2007-07-05 18:01:51 +02:00
Sascha Hauer
ca69a14849
svn_rev_368
...
let mount take the device as string
2007-07-05 18:01:47 +02:00
Sascha Hauer
07dbdaef61
svn_rev_331
...
add rmdir and unlink
2007-07-05 18:01:44 +02:00
Sascha Hauer
27f9ff5ab4
svn_rev_290
...
add lseek
2007-07-05 18:01:40 +02:00
Sascha Hauer
9b4dfd7995
svn_rev_272
...
more FS work
2007-07-05 18:01:38 +02:00
Sascha Hauer
112ada667b
svn_rev_270
...
WIP FS support
2007-07-05 18:01:38 +02:00
Sascha Hauer
cf7a56fc78
svn_rev_268
...
WIP
2007-07-05 18:01:38 +02:00
Sascha Hauer
9db8ed3312
svn_rev_261
...
WIP Filesystem support
2007-07-05 18:01:37 +02:00
Sascha Hauer
3f8a5b17f2
svn_rev_259
...
WIP
2007-07-05 18:01:37 +02:00
Sascha Hauer
7880ba6372
svn_rev_235
...
beginning filesystem support
2007-07-05 18:01:35 +02:00