[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] MiNTLib 0.52.3b



Hi!

On Fri, Aug 06, 1999 at 03:40:44PM +0200, Julian Reschke wrote:
> I don't see that a major issue as there are only 3..4 filesystems that are
> affected (outside the kernel...).

I don't like the idea, because this IMO is something not to be handled
by the filesystem. Or are you happy about MagiC's XFS interface that
makes the filesystem responsible for almost everything (parsing a path,
checking access restrictions, ...)? ;)

While thinking about it: another possible solution could be to "hack"
f_xattr() for that. E.g., on each filesystem's init(), a cookie (or
better: just the index value) of its root directory would be saved for
later reference (only if 0 <= dev < 32). In f_xattr(), one would then
compare the referenced cookie's index field to the corresponding (i.e.
dev-matching) saved entry, and on a match the hidden flag would be
added.

One problem would still remain, though: GNU-ls cares a sh*t about GEMDOS
attributes, so the drive entries hidden by this method would still
appear in the output of ls /. This might be different for your
(Julian's) ls.


Ciao

Thomas


-- 
Thomas Binder (Gryf @ IRCNet)  gryf@hrzpub.tu-darmstadt.de
PGP-key available on request!  binder@rbg.informatik.tu-darmstadt.de
Vote against SPAM:             http://www.politik-digital.de/spam/

Attachment: pgpC6RjoKvpf2.pgp
Description: PGP signature