There doesn't seem to be a way to keep gmc/mc from "stat"ing an NFS mounted /home directory. This slows down operations tremendously in an organization with about 2500 user directories in /home. Every time I invoke the file browser, gmc scans the parent directory of my home directory (i.e. /home). Once the initial scan is done gmc calms down a bit, but then if I use the file browser to view the contents of a subdirectory, then gmc "stat"s the whole /home tree all over again. Here's an example from running strace on the pid of gmc: stat("/home/robinsoc", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/robinsok", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/robinsom", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/robinsor", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/robitaij", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/robsonj", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/rodeh", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/roehld", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/roggec", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/roles", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 stat("/home/rolfed", {st_mode=S_IFDIR|0755, st_size=512, ...}) = 0 These stat() occur everytime I open a directory (within my home directory), for example, when I open ~/bin. I've seen the find_ignore_dirs variable in the mc man page, but that seems to only impact "find" operations. Perhaps I'm missing something? I'm running the following: mc-4.5.42-10 gmc-4.5.42-10 The system is a vanilla rh 6.2 install.
fix for this one: I had the same problem: look in /etc/mc.global edit the [Special dirs] section and append your home dir to the list of dirs there mc does a tree of anything which is NOT in this list. yes its dumb. no its not redhat's fault. but this fixes it. and it makes gmc actually FAST
This is indeed the correct fix. GMC has a limitted lifespan, anyway, so hopefully it will be better handled in nautilus.