Page 14 of 21 FirstFirst ... 41213141516 ... LastLast
Results 131 to 140 of 207

Thread: how to: automatically umount cifs partitions

  1. #131
    Join Date
    Feb 2007
    Beans
    33

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by dmizer View Post
    Hacking /etc/gdm/PostSession/Default shouldn't be necessary for cifs. For NFS, just add the "soft" option to your nfs fstab line....
    I am only using CIFS (not NFS). And umountnfs.sh looks after all the relevant file systems, including CIFS as the following relevant fragment of the umountnfs.sh script indicates:

    Code:
    ...
    case "$FSTYPE" in
      nfs|nfs4|smbfs|ncp|ncpfs|cifs|coda|ocfs2|gfs)
        DIRS="$MTPT $DIRS"
          ;;
       proc|procfs|linprocfs|devfs|devpts|usbfs|usbdevfs|sysfs)
         DIRS="$MTPT $DIRS"
          ;;
    esac
    ...
    So I guess I won't bother hacking /etc/gdm/PostSession/Default!

    Many thanks for your thoughtful and instructive replies.

  2. #132
    Join Date
    Apr 2009
    Location
    Lemgo, Gerrnany
    Beans
    5

    Re: how to: automatically umount cifs partitions

    I've had the problem that linking /etc/init.d/umountnfs.sh to /etc/rc0.d/K01umounntfs.sh does not work for my jaunty install on an Asus EEEPC 901.

    Calling it from /etc/gdm/PostSession/Default works instead!

    Many thanks for the advice.

    Cheers Kai

  3. #133

    Re: how to: automatically umount cifs partitions

    Thanks kaiben, I used jaunty and this finally fix the error.

    I put this line on my /etc/gdm/PostSession/Default file

    Code:
    /etc/init.d/umountnfs.sh
    after the line
    Code:
    exit 0
    and it fix.

  4. #134
    Join Date
    May 2009
    Beans
    2

    Re: how to: automatically umount cifs partitions

    Thanks! worked great for me, all errors gone......

  5. #135
    Join Date
    May 2009
    Beans
    1

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by pajarraco View Post
    Thanks kaiben, I used jaunty and this finally fix the error.

    I put this line on my /etc/gdm/PostSession/Default file

    Code:
    /etc/init.d/umountnfs.sh
    after the line
    Code:
    exit 0
    and it fix.
    Hello Pajarraco!

    It worked 100% in Ubuntu Jaunty!

    Thanks!

  6. #136
    Join Date
    Feb 2007
    Location
    New Zealand
    Beans
    827
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: how to: automatically umount cifs partitions

    In Jaunty, I'm now having the opposite problem. When I start my laptop not connected to the network I get a long delay and error messages while it tries to mount the cifs partitions.

    Is there a similar work around for this?
    Veloce
    Ubuntu 9.04 64bit on Dell Vostro 1510, Core2 Duo T8100, Nvidia 8400M , Intel 1395 Wireless.
    OK: Wireless, kvm, Canon irc2880, Synergy.

  7. #137
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by veloce View Post
    In Jaunty, I'm now having the opposite problem. When I start my laptop not connected to the network I get a long delay and error messages while it tries to mount the cifs partitions.

    Is there a similar work around for this?
    That's probably worth a new thread

  8. #138
    Join Date
    Feb 2007
    Location
    New Zealand
    Beans
    827
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: how to: automatically umount cifs partitions

    Quote Originally Posted by dmizer View Post
    That's probably worth a new thread
    Yeah, I wondered. I'll do that now.
    Veloce
    Ubuntu 9.04 64bit on Dell Vostro 1510, Core2 Duo T8100, Nvidia 8400M , Intel 1395 Wireless.
    OK: Wireless, kvm, Canon irc2880, Synergy.

  9. #139
    Join Date
    Feb 2008
    Beans
    85

    Re: how to: automatically umount cifs partitions

    works for me, thanks dude!

  10. #140
    Join Date
    Feb 2007
    Location
    UK
    Beans
    11
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: how to: automatically umount cifs partitions

    Just chipping in to say that sander marechal's script worked great for me on Jaunty - thanks!

Page 14 of 21 FirstFirst ... 41213141516 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •