mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Implement symlinks to directories
@ 2017-05-11  9:10 Sascha Hauer
  2017-05-11  9:10 ` [PATCH 1/4] errno: Include string for ELOOP Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sascha Hauer @ 2017-05-11  9:10 UTC (permalink / raw)
  To: Barebox List

So far we only supported links to files. With this series we can
also support links to directories.

I tested all kinds of different things like:

- links to directories
- links to files
- relative links
- absolute links
- 'cd'ing to links
- links with '..' in them
- links to links

So far it works fine, but I would be surprised if there were no surprises
left in this series, so please review and test.

Sascha

----------------------------------------------------------------
Sascha Hauer (4):
      errno: Include string for ELOOP
      fs: drop path_check_prereq()
      fs: Implement links to directories
      ls: Fix showing links to directories

 commands/ls.c       |  26 ++--
 commands/readlink.c |   2 +-
 common/misc.c       |   1 +
 fs/fs.c             | 385 +++++++++++++++++++++++++++-------------------------
 include/fs.h        |   3 +-
 5 files changed, 222 insertions(+), 195 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-11 19:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-11  9:10 Implement symlinks to directories Sascha Hauer
2017-05-11  9:10 ` [PATCH 1/4] errno: Include string for ELOOP Sascha Hauer
2017-05-11  9:10 ` [PATCH 2/4] fs: drop path_check_prereq() Sascha Hauer
2017-05-11  9:11 ` [PATCH 3/4] fs: Implement links to directories Sascha Hauer
2017-05-11 19:34   ` Sascha Hauer
2017-05-11  9:11 ` [PATCH 4/4] ls: Fix showing " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox