From: Tru unix user <tru64user_2001 () yahoo ! com>
To: tru64-unix-managers
Subject: VFS trap.
Date: Thu, 31 Jan 2002 16:26:26 +0000 [thread overview]
Message-ID: <102653723422143.tru64-unix-managers.marc@archive.invalid> (raw)
Hi All,
I have a programming query. I need to trap 'ls'
command, so that it should always display files from a
specified directory, rather than from the default
current directory.
In other words..
# pwd
# /
# ls
Here issuing 'ls' command should not give me the
contents from the current directory, but from the
other directory say "/usr/users/user1".
I don't want to issue "ls /usr/users/user1" command to
get this list.
Is it some thing to do with VFS. How do I do it?
Which system calls I need to use to do this?
/sap
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
reply other threads:[~2002-01-31 16:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox