filldir and dir.c
Hi,
When I do the ls command or the ls -a command I do not want certian to be listed. I cannot solve this problem by modifying the ls command. What I think I can do is in fs/ext3/dir.c, set a flag to prevent the file from displaying if the name of the filname in the inode equals a certain value. I thought filldir() could do this for me? What does filldir() do in linux? And is their a function in dir.c that can prevent the file from being visually displayed (ie make the file invisible)? I hope someone can help me. Thank you, Macska |
If you don't want certain files to be listed, then just do:
ls -l | grep -v "file_i_do_not_want_to_see" |
Macska, Why do you want to do this?
|
All times are GMT -5. The time now is 12:02 AM. |