tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* VFS trap.
@ 2002-01-31 16:26 Tru unix user
  0 siblings, 0 replies; only message in thread
From: Tru unix user @ 2002-01-31 16:26 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-31 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-31 16:26 VFS trap Tru unix user

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