Home | History | Annotate | Download | only in libsa
History log of /src/sys/lib/libsa/ls.c
RevisionDateAuthorComments
 1.5  20-Mar-2014  christos reduce size by 1K by sharing the ls code.
 1.4  02-Mar-2012  tsutsui branches: 1.4.2; 1.4.4;
Fix a bug that libsa ls doesn't work in case of filename with directory path.
("ls /path/and/file" always returns not found) From MINIX via Evgeniy Ivanov.
 1.3  25-Dec-2011  tsutsui branches: 1.3.2;
Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
 1.2  26-Jan-1994  mycroft branches: 1.2.108; 1.2.112;
Clean up deleted files.
 1.1  26-Jan-1994  brezak CMU/4.4 stand-alone library
 1.2.112.4  06-Mar-2012  mrg sync to -current
 1.2.112.3  06-Mar-2012  mrg sync to -current
 1.2.112.2  04-Mar-2012  mrg sync to latest -current.
 1.2.112.1  18-Feb-2012  mrg merge to -current.
 1.2.108.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.108.1  17-Apr-2012  yamt sync with head
 1.3.2.1  08-Mar-2012  riz Pull up following revision(s) (requested by tsutsui in ticket #96):
sys/lib/libsa/ls.c: revision 1.4
Fix a bug that libsa ls doesn't work in case of filename with directory path.
("ls /path/and/file" always returns not found) From MINIX via Evgeniy Ivanov.
 1.4.4.1  18-May-2014  rmind sync with head
 1.4.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed