OpenCloudOS-Kernel/fs/adfs
Stuart Swales da23ef0549 adfs: add hexadecimal filetype suffix option
ADFS (FileCore) storage complies with the RISC OS filetype specification
(12 bits of file type information is stored in the file load address,
rather than using a file extension).  The existing driver largely ignores
this information and does not present it to the end user.

It is desirable that stored filetypes be made visible to the end user to
facilitate a precise copy of data and metadata from a hard disc (or image
thereof) into a RISC OS emulator (such as RPCEmu) or to a network share
which can be accessed by real Acorn systems.

This patch implements a per-mount filetype suffix option (use -o
ftsuffix=1) to present any filetype as a ,xyz hexadecimal suffix on each
file.  This type suffix is compatible with that used by RISC OS systems
that access network servers using NFS client software and by RPCemu's host
filing system.

Signed-off-by: Stuart Swales <stuart.swales.croftnuisk@gmail.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-22 17:44:17 -07:00
..
Kconfig adfs: remove the big kernel lock 2011-03-02 00:02:38 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adfs.h adfs: add hexadecimal filetype suffix option 2011-03-22 17:44:17 -07:00
dir.c adfs: remove the big kernel lock 2011-03-02 00:02:38 +01:00
dir_f.c adfs: add hexadecimal filetype suffix option 2011-03-22 17:44:17 -07:00
dir_f.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dir_fplus.c adfs: add hexadecimal filetype suffix option 2011-03-22 17:44:17 -07:00
dir_fplus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file.c rename the generic fsync implementations 2010-05-27 22:06:06 -04:00
inode.c adfs: add hexadecimal filetype suffix option 2011-03-22 17:44:17 -07:00
map.c Cleanup of adfs headers 2009-06-17 00:36:36 -04:00
super.c adfs: add hexadecimal filetype suffix option 2011-03-22 17:44:17 -07:00