PR 369/filesystem
	* Makefile.am, shell/cmds.c, wrapup/Makefile.am: sample application to
	show the use of the DOSFS functions
	* fsmount/Makefile.am, fsmount/README, fsmount/fsmount.c,
	fsmount/fsmount.h: New files.
This commit is contained in:
Jennifer Averett
2003-08-06 21:55:47 +00:00
parent a97ee41919
commit 77c4089f32
5 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
2003-08-06 Thomas Doerfler<Thomas.Doerfler@imd-systems.de>
PR 369/filesystem
* Makefile.am, shell/cmds.c, wrapup/Makefile.am: sample application to
show the use of the DOSFS functions
* fsmount/Makefile.am, fsmount/README, fsmount/fsmount.c,
fsmount/fsmount.h: New files.
2003-08-05 Till Strauman <strauman@slac.stanford.edu> 2003-08-05 Till Strauman <strauman@slac.stanford.edu>
PR 436/rtems_misc PR 436/rtems_misc

View File

@@ -4,7 +4,7 @@
ACLOCAL_AMFLAGS = -I ../aclocal ACLOCAL_AMFLAGS = -I ../aclocal
SUBDIRS = capture cpuuse devnull dummy dumpbuf monitor mw-fb shell \ SUBDIRS = capture cpuuse devnull dummy dumpbuf fsmount monitor mw-fb shell \
rtmonuse serdbg stackchk untar wrapup rtmonuse serdbg stackchk untar wrapup
EXTRA_DIST = README EXTRA_DIST = README

View File

@@ -70,6 +70,7 @@ serdbg/Makefile
stackchk/Makefile stackchk/Makefile
capture/Makefile capture/Makefile
untar/Makefile untar/Makefile
fsmount/Makefile
mw-fb/Makefile mw-fb/Makefile
wrapup/Makefile wrapup/Makefile
]) ])

View File

@@ -286,7 +286,7 @@ int main_ls(int argc, char *argv[])
strcat(nbuf,dp->d_name); /* always the fullpathname. Avoid ftpd problem.*/ strcat(nbuf,dp->d_name); /* always the fullpathname. Avoid ftpd problem.*/
if (stat(nbuf, &stat_buf) == 0) if (stat(nbuf, &stat_buf) == 0)
{ /* AWFUL buts works...*/ { /* AWFUL buts works...*/
strftime(sbuf,sizeof(sbuf)-1,"%b %d %H:%M",gmtime(&stat_buf.st_atime)); strftime(sbuf,sizeof(sbuf)-1,"%b %d %H:%M",gmtime(&stat_buf.st_mtime));
pwd=getpwuid(stat_buf.st_uid); pwd=getpwuid(stat_buf.st_uid);
user=pwd?pwd->pw_name:"nouser"; user=pwd?pwd->pw_name:"nouser";
grp=getgrgid(stat_buf.st_gid); grp=getgrgid(stat_buf.st_gid);

View File

@@ -28,6 +28,7 @@ TMP_LIBS += ../devnull/$(ARCH)/libdevnull.a
TMP_LIBS += ../dummy/$(ARCH)/libdummy.a TMP_LIBS += ../dummy/$(ARCH)/libdummy.a
TMP_LIBS += ../mw-fb/$(ARCH)/libmw-fb.a TMP_LIBS += ../mw-fb/$(ARCH)/libmw-fb.a
TMP_LIBS += ../capture/$(ARCH)/libcapture.a TMP_LIBS += ../capture/$(ARCH)/libcapture.a
TMP_LIBS += ../fsmount/$(ARCH)/libfsmount.a
# #
# (OPTIONAL) Add local stuff here using += # (OPTIONAL) Add local stuff here using +=