Re: [PATCH] Posix file attribute support on VFAT

From: Bodo Eggert
Date: Tue Aug 09 2005 - 08:00:18 EST


On Tue, 9 Aug 2005, Machida, Hiroyuki wrote:
> Bodo Eggert wrote:

> Please confirm my understanding.
> You sugessted that symlink should not have ATTR_SYS, to prevent
> some over 4KB files created in DOS/WIN to be treated as symlinks?

NACK, files longer than 4KB should not be symlinks, and maybe (if you're
paranoid enough) files without a magic header should not be symlinks, too.

BTW: What about storing short symlinks (strlen(name)+strlen(symlink) < 200)
in the filename as $name.modified_base64($symlink) and storing the split
position in ctime? This would reduce the need for data blocks, which may
be valuable on small devices.

--
Keep your hands off strong drink. It can make you shoot at the tax collector
and miss.
-- R.A. Heinlein
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/