On Sat, Feb 27, 2010 at 4:44 AM, rajkumar vbalakrishnasamy
<[email protected]> wrote:
> Hello,
> Is there any option for hiding the files using gobohide tool.
No, only symlinks and directories can be hidden. That's a design
decision to prevent the gobohide list from growing too much due to
misuse and causing a noticeable performance impact on file system
operations.
If you really need to hide files then you will need to remove the
following lines from fs/gobohide.c before compiling the kernel:
- /* We only support symbolic links and directories */
- if (hide->inode && !S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) {
- error = -EINVAL;
- goto out;
- }
And then you will also have to remove lines 119 and 120 in gobohide.c
from the user space Gobohide utility:
- if (!S_ISDIR(stats.st_mode))
- err_quit (1, dir);
Thanks,
--
Lucas
"If you're looking for a reason I've a reason to give: pleasure,
little treasure"
_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel