On Aug 10, 2007, at 3:36 AM, Juan Pedro Escalona Rueda wrote:
Hello to everybody!
I have a little question. How can i get the mount point of a
FileSystem? So, for example: I'm on path /Devices/Server/Linux/
devices/gentooserver/os/- and i know that i'm on / mount point
information. But, when i'm on /Devices/Server/Linux/devices/
gentooserver/os/boot, now, i know i'm on /boot mount point.
So, i explain now. I created a script to calculate read and write
blocks, but it depends of mount point passed by argument. So, i
need the mount point where i am and configure it on a template.
I believe you're looking for ${here/mount}. This can be found by
looking at the properties for the FileSystem object. The source of
which is in $ZENHOME/Products/ZenModel/FileSystem.py.
Chet Luther
Client Services Engineer
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users