Can't remove static mounts

I created some NFS share points using NFS(automount). I unshared them, they don't show up anymore on the Server Admin File Sharing window. The problem is that they keep showing up as mounted on my server and clients. Running "df -H" shows these old shares as mounted, size 0, used 0, available 0 and capacity 100%.
Message was edited by: geekinthebox

Same problem here.
What's worse is trying to "cd" into the auto-created folders results in a "Too many levels of symbolic links". This is stopping my backup program dead.
I've looked in auto_home, auto_master, autofs.conf and found nothing. I have no idea where it is storing the mount information.
My only way of temporarily fixing it is to comment out "/- -static" in auto_master and then running automount. Only problem is this kills all static mounts but at least I can backup now.
Apple needs to fix this pronto. I don't know what caused it but it happened using the gui. No command line tinkering was done to cause it.

Similar Messages

  • Can't remove static members using "Manage Group Members"

    Using the OAM 10.1.4.2 Group Manager app, I can remove static members from a group by modifying the Member property, but I can't remove members using the "Manage Group Members" page.
    When I search for members using that page, I get a list of the current members with an unselected checkbox for each. If I check the box next to a member and click Save, the member is not removed from the group. I turned on trace-level logging and saw that the correct user is being passed to the Identity server to be removed, but I haven't yet found anything to indicate why the removal doesn't work.
    Has anyone else run into this issue?
    Thanks,
    Matthew

    Hi Vinod,
    I'm running on Window 2003 against a Microsoft ADAM directory. I turned on diagnostics and re-ran the test using both "Manage Group Members" and modifying the property directly-- from what I can tell, the ldap modify only happens when I modify the property.
    (I had also noticed the problem with the instructions, but I eventually figured it out-- if I can get this working, I'll have to fix the verbiage before I deploy.)
    Any ideas? What platform and directory are you using?
    Thanks,
    Matthew

  • How can I remove old mount points?

    Hi,
    I created mount points under Tiger using NetInfo Manager. These are still active but don't show up in Directory Utility.
    How Do I remove thos old mount points?
    All the best
    Christoph

    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    You can delete it from itunes and sync.
    You can deselect it from the apps tab and sync.
    You can hold an icon on the iphone until they all wiggle then tap the "X".
    You cannot delete the standard app.
    Maybe you should have a look  at the manual.

  • ArrayList problem ....how can i remove my object.

    i am going to insert a cd to the arrayList , remove a cd from the arrayList, searchTheTitle, and display it...But i stuck on my remove function...i can `t remove the data that i want from the array..pls help..
    //MusicCd enscaslaute the cd data
    public class MusicCd
         private String musicCdsTitle;
            private int yearOfRelease;
         public MusicCd()
              musicCdsTitle = "";
              yearOfRelease = 1900;
         public MusicCd(String newMusicCdsTitle)
              musicCdsTitle = newMusicCdsTitle;
              //yearOfRelease = newYearOfRelease;
         public MusicCd(String newMusicCdsTitle, int newYearOfRelease)
              musicCdsTitle = newMusicCdsTitle;
              yearOfRelease = newYearOfRelease;
         public String getTitle()
              return musicCdsTitle;
         public int getYearOfRelease()
              return yearOfRelease;
         public void setTitle(String newMusicCdsTitle)
              musicCdsTitle = newMusicCdsTitle;
         public void setYearOfRelease(int newYearOfRelease)
              yearOfRelease = newYearOfRelease;
         public boolean equalsName(MusicCd otherCd)
              if(otherCd == null)
                   return false;
              else
                   return (musicCdsTitle.equals(otherCd.musicCdsTitle));
         public String toString()
              return("Music Cd`s Title: " + musicCdsTitle + "\t"
                     + "Year of release: " + yearOfRelease + "\t");
    import java.util.ArrayList;
    import java.io.*;
    public class MusicCdStore
       ArrayList<MusicCd> MusicCdList;
       public void insertCd()
            MusicCdList = new ArrayList<MusicCd>( ); 
            readOperation theRo = new readOperation();
            MusicCd theCd;
            int muiseCdsYearOfRelease;
            String muiseCdsTitle;
              while(true)
                    String continueInsertCd = "Y";
                   do
                        muiseCdsTitle = theRo.readString("Please enter your CD`s title : ");
                        muiseCdsYearOfRelease = theRo.readInt("Please enter your CD`s year of release : ");
                        MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsYearOfRelease));
                        MusicCdList.trimToSize();
                        continueInsertCd = theRo.readString("Do you have another Cd ? (Y/N) : ");
                   }while(continueInsertCd.equals("Y") || continueInsertCd.equals("y") );
                   if(continueInsertCd.equals("N") || continueInsertCd.equals("n"));
                                                    //MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsYearOfRelease));                              
                                  break;
                      //System.out.println("You `ve an invalid input " + continueInsertCd + " Please enter (Y/N) only!!");
       public void displayAllCd()
                    System.out.println("\nOur CD collection is: \n" );
              System.out.println(toString());
       public String toString( )
            String result= " ";
            for( MusicCd tempCd : MusicCdList)
                 result += tempCd.toString() + "\n";
            return result;
       public void searchingMusicCd()
            readOperation theRo = new readOperation();
            String keyword = theRo.readString("Enter a CD `s Title you are going to search : ") ;
            ArrayList<MusicCd> results = searchForTitle(keyword );
              System.out.println("The search results for " + keyword + " are:" );
              for(MusicCd tempCd : results)
                   System.out.println( tempCd.toString() );
       //encapsulate the A
       public void removeCd()
            readOperation theRo = new readOperation();
            String keyword = theRo.readString("Please enter CD `s title you are going to remove : ") ;
            ArrayList<MusicCd> removeMusicCdResult =searchForRemoveCdsTitle(keyword);
                  System.out.println("The CD that you just removed  is " + keyword );
              for(MusicCd tempCd : removeMusicCdResult)
                   System.out.println( tempCd.toString() );
       private ArrayList<MusicCd> searchForTitle(String searchString)
            ArrayList<MusicCd> searchResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                 if((currentMusicCd.getTitle()).indexOf(searchString) != -1)
                      searchResult.add(currentMusicCd);
            searchResult.trimToSize();
            return searchResult;
       private ArrayList<MusicCd> searchForRemoveCdsTitle(String searchString)
            MusicCd tempCd = new MusicCd();
            tempCd.setTitle(searchString);
            ArrayList<MusicCd> removeCdsResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                 if((currentMusicCd.getTitle()).equals(tempCd.getTitle()))
                      removeCdsResult.remove(currentMusicCd);
            removeCdsResult.trimToSize();
            return removeCdsResult;
    private ArrayList<MusicCd> searchForRemoveCdsTitle(String searchString)
            ArrayList<MusicCd> removeCdsResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                 if((currentMusicCd.getTitle()).indexOf(searchString) != -1)
                      removeCdsResult.remove(currentMusicCd);
            removeCdsResult.trimToSize();
            return removeCdsResult;
    import java.util.*;
    public class readOperation{
         public String readString(String userInstruction)
              String aString = null;
              try
                         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aString = scan.nextLine();
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aString;
         public char readTheFirstChar(String userInstruction)
              char aChar = ' ';
              String strSelection = null;
              try
                   //char charSelection;
                         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   strSelection = scan.next();
                   aChar =  strSelection.charAt(0);
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aChar;
         public int readInt(String userInstruction) {
              int aInt = 0;
              try {
                   Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aInt = scan.nextInt();
              } catch (InputMismatchException e) {
                   System.out.println("\nInputMismatchException error occurred (the next token does not match the Integer regular expression, or is out of range) " + e);
              } catch (NoSuchElementException e) {
                   System.out.println("\nNoSuchElementException error occurred (input is exhausted)" + e);
              } catch (IllegalStateException e) {
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aInt;
    import java.util.*;
    public class MusicCdStoreEngine{
         public static void main(String[] args)
              MusicCdStore mcs = new MusicCdStore( );
              mcs.insertCd();
              //display the Cd that you just insert
              mcs.displayAllCd();
              mcs.removeCd();
              mcs.displayAllCd();
              //mcs.searchingMusicCd();
    //Acutally result
    //Please enter your CD`s title : ivan
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : y
    //Please enter your CD`s title : hero
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : n
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Please enter CD `s title you are going to remove : hero
    //The CD that you just removed  is hero
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Enter a CD `s Title you are going to search : hero
    //The search results for hero are:
    //Music Cd`s Title: hero     Year of release: 1992
    //>Exit code: 0
    //Expected result
    //Please enter your CD`s title : ivan
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : y
    //Please enter your CD`s title : hero
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : n
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Please enter CD `s title you are going to remove : hero
    //The CD that you just removed  is hero
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992<<-- it is not supposed to display cos i have deleted it from from array     
    //Enter a CD `s Title you are going to search : hero
    //The search results for hero are:
    //Music Cd`s Title: hero     Year of release: 1992<<-- i should have get this reuslt...cos it is already delete from my array
    //>Exit code: 0

    (1) searchForRemoveCdsTitle() removes rather than adds the CDs that it finds to
    the list that it returns.So searchForRemoveCdsTitle() should be:private ArrayList<MusicCd> searchForRemoveCdsTitle(String searchString)
            MusicCd tempCd = new MusicCd();
            tempCd.setTitle(searchString);
            ArrayList<MusicCd> removeCdsResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                if((currentMusicCd.getTitle()).equals(tempCd.getTitle()))
                    //removeCdsResult.remove(currentMusicCd);
                    removeCdsResult.add(currentMusicCd); // <-- changed
            removeCdsResult.trimToSize();
            return removeCdsResult;
    (2) In removeCd() you never actually remove the CDs from the array list, you just
    print them to System.outSo removeCd() should be:public void removeCd()
            readOperation theRo = new readOperation();
            String keyword = theRo.readString("Please enter CD `s title you are going to remove : ") ;
            ArrayList<MusicCd> removeMusicCdResult =searchForRemoveCdsTitle(keyword);
            System.out.println("The CD that you just removed  is " + keyword );
            for(MusicCd tempCd : removeMusicCdResult)
                //System.out.println( tempCd.toString() );
                MusicCdList.remove(tempCd); // <-- changed
        }With these changes we get:Please enter your CD`s title : ivan
    Please enter your CD`s year of release : 1234
    Do you have another Cd ? (Y/N) : y
    Please enter your CD`s title : hero
    Please enter your CD`s year of release : 4321
    Do you have another Cd ? (Y/N) : n
    Our CD collection is:
    Music Cd`s Title: ivan     Year of release: 1234     
    Music Cd`s Title: hero     Year of release: 4321     
    Please enter CD `s title you are going to remove : hero
    The CD that you just removed  is hero
    Our CD collection is:
    Music Cd`s Title: ivan     Year of release: 1234     This "works", but I can't do more than hope that it helps. Really if something is unclear about either of these points it might be more productive to ask about that.

  • Can't remove expired apps from memory card

    I have an N73 and had some applications with a developers certification installed to my memory card. I then did a firmware upgrade. Now every time I start the phone it wants to install these applications but fails and tells me to upgrade via the Application Manager. In the Application Manager these apps are listed as uninstalled, if I try to remove them it fails due to expired certificate (which is probably true). But I can't remove them either, and haven't found any files to delete browsing the card. Suggestions? 

    This worked for one app--actually I could install it and after resetting the clock it still runs fine. Didn't think the certificate mechanism was so unintelligent.
    One app didn't work anyway, it might've gotten corrupted. Found I could mount my memory card to my desktop and search for the application code, which was listed in the Application Manager, and manually delete all references to it. 

  • How can I remove a file on server w/ my JSP app running on Tomcat 7 ?

    First of all, I'm posting here because I found it the closest to java web development in the forums listing.
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?
    My code is
    public static void excluirArquivos(String nomeArquivoExcluido) {
              File arquivoExcluido = new File (nomeArquivoExcluido);
              arquivoExcluido.setWritable(true, true);
              SecurityManager sm = new SecurityManager();
              try {
                   sm.checkDelete(arquivoExcluido.getAbsolutePath());
                   System.gc();
                   if (arquivoExcluido.delete()) System.out.println("File '" + nomeArquivoExcluido + "' successfully removed.");
                   else System.out.println("File '" + nomeArquivoExcluido + "' wasn't removed somehow.");
              } catch (SecurityException se) {
                   System.out.println("File '" + nomeArquivoExcluido + "' can't be excluded. There is no permissions.");
         }And it always falls on the catch statement.

    899238 wrote:
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?1. make sure that the JVM has the (filesystem) rights to be able to remove said file
    2. make sure the file is in fact not locked (for example, opened by another process)
    3. use File.delete()
    There is no guarantee that you can delete a file, you can only make an attempt. There can be any number of reasons, most if not all of them not related to code, that the deletion of a file does not work.

  • Unable to remove Static Drop entry | 2960 Cam Table

    Hi all,
    I am facing a strange issue here on a production switch (Cisco 2960 IOS 12.2(55)SE5)
    I have the following entry in my cam table:
    switch#show mac add int gi0/10
              Mac Address Table
    Vlan    Mac Address       Type        Ports
    123    1234.1234.1234 STATIC      Drop
    Although this mac-id has not been statically entered in any way it shows up as static and I can't remove it. I tried all possible clear commands without success. As a last step I reset the interface to the default empty config just configuring it as access port in an office vlan.
    I am trying to avoid having to reload the switch to clear the related memory as this generates downtime. Has anyone ever faced such an issue and can advise me?
    Logs:
    switch#show mac add add 1234.1234.1234
              Mac Address Table
    Vlan    Mac Address       Type        Ports
    123    1234.1234.1234    STATIC      Drop <-- note the "interface"
    Total Mac Addresses for this criterion: 1
    Current configuration : 47 bytes
    interface GigabitEthernet0/10
    shutdown
    end
    switch#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    switch(config)#int gi0/10
    switch(config-if)#sw mod ac
    switch(config-if)#sw ac vl 123
    switch(config-if)#no sh
    switch(config-if)#do sh mac add int gi0/10
              Mac Address Table
    Vlan    Mac Address       Type        Ports
    123    1234.1234.1234    STATIC      Drop
    Total Mac Addresses for this criterion: 1
    switch(config)#clear mac address-table static 1234.1234.1234 vlan 123 drop
    MAC address could not be removed.
    Address is not user configured
    switch#clear mac add dynamic address 1234.1234.1234
    switch#sh mac add add 1234.1234.1234
              Mac Address Table
    Vlan    Mac Address       Type        Ports
    123    1234.1234.1234    STATIC      Drop
    Total Mac Addresses for this criterion: 1

    Hi Umesh,
    Of course there is nothing with this mac in the config. That was like the first thing that has been checked. There was dot1x running on this and all the other ports which of course has been disabled and cleared accordingly.
    The problem is that there is some sort of cam table holding the Drop entries and although it should the memory is not being freed up when using the commands according to the documentation.
    This is definitely a question for an IOS geek or someone who already had a similar issue once. If I open a TAC case they will tell me to reboot so the only hope is really someone who had this issue already once and resolved it without reboot.
    Anyone with experience in this?

  • How to remove a mounted drive at startup in a mobile account, using netinfo

    How does one remove an mounted drive at startup in a mobile account, using netinfo?
    One of the user automatically mounts a network drive on her new intel Macbook in her portable account. Trouble is that the network drive is only available on the intranet. So when she is on the road, it take the Macbook very long 3-4 minutes before it let's her log in.
    Simply I thought to remove the drive on her macbook through the system preferences -> account -> login items. However the "login Item" GUI is very slow to respond and if it respond it does not let me remove the network drive. I tried this both on the intranet and off the network.
    I tried to remove the mounted drive at start up through the workgroup manager, but it does not show up there.
    So I thought that I try to use netinfo on the local machine. But I can't find where mounting info is stored in a mobile account. I thought it would be in the local @ localhost or should I connect to an other DB?

    The login items are not stored in Netinfo, they are stored in loginwindow.plist in the users Library/Preferences. You can either remove the entries for the server or simply trash that file and let a default one get recreated.

  • How can I remove PDF password?

    Hi guys, recently I've got a really annoying problem at work. Some of my PDFs can not be copyed, edited or printed. I know that's because they're secured but how can I remove the password? Any idea to work out the problem?

    Hello,
    As there is no any C# solution ,I would like to psot some sample codes to achieve this.
    using Spire.Pdf;
    using Spire.Pdf.Security;
    namespace modify_PDF_passwords
    class Program
    static void Main(string[] args)
    //load a encrypted file and decrypt it
    String encryptedPdf = @"..\Encrypt.pdf";
    PdfDocument doc = new PdfDocument(encryptedPdf, "e-iceblue");
    //reset PDF passwords and set user password permission
    doc.Security.OwnerPassword = "Spire.PDF";
    doc.Security.UserPassword = "pdfcomponent";
    doc.Security.Permissions = PdfPermissionsFlags.Print | PdfPermissionsFlags.FillFields;
    //Save pdf file.
    doc.SaveToFile("Encryption.pdf");
    doc.Close();
    //Launching the Pdf file.
    System.Diagnostics.Process.Start("Encryption.pdf");
    Anyway ,it is a PDF component based solution,which works pretty fine for me.
    You can also read more from
    this article
    REGARDS
    Today is a gift. That's why it's called the Present!

  • How can I remove these Warnings?/

    Hi all,
      I am getting these Warnings in my Report:1)"Field string ZERTAB is not referenced statically in the program".
    2)"No read access to field L_DUMMY"
    Please help me out in this,How can I remove this warning??
    Regards,
    Shashank.

    Hi Shashank,
    Don't worry about these warnings, still you can activate your program and run. There will not be any difference in the your output.
    1) "Field string <field1> is not referenced statically in the program", you will get this warning if you declare any variable and you are not using that variable in any part of your program. The solution for this is you can remove that variable if it is unusual or
    Sol1: declare the variable like this
             DATA : ZERTAB LIKE (or you can use TYPE) ERTAB.       "#EC *
    "#EC *  is used to suppress the SAP warning messages
    Sol2: declare the variable like this
             SET EXTENDED CHECK OFF.
             DATA : ZERTAB LIKE (or you can use TYPE) ERTAB
             SET EXTENDED CHECK ON.
    2) "No read access to field L_DUMMY", for this use "#EC NEEDED in the line of declaration (or) use SET EXTENDED command as above.
    Hope this will help you.
    Regards,
    Venkat.

  • Can we override Static methods?

    Hi all, I m in little bit confusion abt static methods overriding.
    Could you help me on this issue.,
    Can we override Static methods?

    You can provide static methods with same name in both super class and subclass. But it is not overriding in this scenario. Both will act as independent methods.
    Example:
    have a super class:
    public class Test1 {
    public static void mthdA()
    System.out.println("in super");
    have a sub class:
    public class Test2 extends Test1{
    public static void mthdA()
    System.out.println("inside sub");
    public static void main(String[] args){
    Test1 objTest = new Test2();
    objTest.mthdA();
    Try to run the sub class Test2. The output would be "in super".
    Remove static modifier in mthdA() in both the classes and then run. The output would be "in sub". Meaning, methdA is overriden in sub class.

  • How to remove static

    How to remove static from your body, Can any one share some knowledge on that
    thanks

    To remove old NAT settings on Cisco router you need to
    1)Clear all old NAT translations
    router#clear ip nat translatiom *
    2)Disable old NAT pool settings
    router(config)#no ip nat pool public_access 200.100.10.33 netmask 255.255.255.252
    3)And finally, disable the translation:
    router(config)#no ip nat inside source list 1 pool public_access overload
    From this point you can safely configure the new NAT settings.
    or use this link:
    http://www.phirebird.net/2009/07/cant-remove-ip-nat-entries-on-cisco-router-static-entry-in-use-cannot-remove/
    http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094422.shtml
    Cheers.

  • How can I remove my account on an iPad and add an existing one

    how can I remove my account on an iPad and add an existing one

    Or, how can I change the account on an existing iPad without restoring / formatting it?

  • How can I remove LABELS from my gmail account?

    How can I remove unwanted LABELS from the side bar unsung gmail?

    I assume you're using GMail as your primary e-mail account?  Try this.  This is how I am setup.  Not only will it move all your contacts to your phone but any changes made in GMail or on the iPhone will be sync'd with the server.
    http://www.google.com/support/mobile/bin/answer.py?answer=138740
    Note... I think this will delete your existing contacts from your device.  You will want to use iTunes to back them up and get them imported into GMail before you sync your device wtih GMail.

  • How can we remove the scroll bars from the table?

    Hi,
    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance
    Nita

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

Maybe you are looking for

  • How can I fix my Superdrive slot on my MacBook Pro 2012?

    I installed a brand new SSD in my MacBook Pro 2012 yesterday. To do this, I cloned my [then] existing HDD to it using SuperDuper!. Now, my DVD slot won't accept discs. I tried opening DVD player and it said that "a valid DVD drive could not be found"

  • How do I TRANSFER a blank line to a dataset?

    Hey everyone, Learning all about datasets today, and it seems clear enough.  What I'm doing is outputting a "report" of sorts to a dataset during a batch process.  I'm reporting on whether or not each transaction processes successfully, as well as pr

  • Final invoice layout.

    My requirement as follows. The layout for the Final Invoice consist of 3 different parts: 1.     The actual Final Invoice Layout (normal or Pauschal) 2.     The u2018Rechnungsanlageu2019 Layout 3.     The Overview Sheet Layout The Final Invoice layou

  • Creating a Variable Library XML "Database"

    So, I have been playing with the variable data options and have a couple of questions (in an attempt to wrap my head around the problem): - Is it possible to output an 'XML dataset' from a database program (such as FileMaker) and have it be 'correct'

  • [AI CS4 Mac] How to Create a Layer Clipping Mask?

    Hi Folks, How does one go about creating a layer clipping mask using the SDK? What I want to do is to simulate clicking on the "Make/Release Clipping Mask" button (the left-most picture button) that is at the bottom of the Layers Panel. Thanks! -- Ji