Welcome to Egypt Forums Mark forums read | Egypt Main Page
Egypt Forums
Arabic Movies



Unix / Linux Unix Tutorial, Unix Guide, Beginners guide to Unix, Linux Tutorial, Linux Command,Beginners guide to the UNIX / Linux operating system. Eight simple tutorials which cover the basics of UNIX.

Unix / Linux Thread, Unmount directories at the end of a user session in ubuntu 8.10 in Operating System; Hello folks, I have a backup script for my computer running ubuntu 8.10. The script itself is great. It maps ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=11201


Reply
LinkBack Thread Tools Display Modes
Unmount directories at the end of a user session in ubuntu 8.10
 
 
The God Father
Developer's Avatar

Reply With Quote
 
Join Date: Jul 2008
Location: NDC
Posts: 5,425
31-12-2008, 04:28 PM
 
Hello folks, I have a backup script for my computer running ubuntu 8.10. The script itself is great. It maps the drive and everything but during a shutdown in ubuntu i seem to hit a little bit of a glitch. When shutting down/rebooting the pc...

Hello folks,
I have a backup script for my computer running ubuntu 8.10. The script itself is great. It maps the drive and everything but during a shutdown in ubuntu i seem to hit a little bit of a glitch. When shutting down/rebooting the pc seems to hit a hangup point. It shows the ubuntu splash screen, then it shows this on a blank screen:

acpid : exiting
[259.882553] CIFS VFS: SERVER NOT RESPONDING

[259.525205]CIFS VFS: no response for smd 50 mid 11174

To that end i have discovered that this is to do with the mounts not closing properly. So what i want to do is create a script that will automatically unmount the network shares when the pc either a user logs off or the machine shuts down or reboots. The only thing is the umount command requires root, and i want this to happen automatically. But i have no idea how to begin. I know how to configure the umount command however. If someone can explain to me how to create a script that will run when the user ends their session or reboots/shuts down a pc. If someone could tell me where to start it would be appreciated. Like i said the script needs to run as root so the umount will function.
Thanks for all the help in advance.
__________________
I Love Walking In The Rain Cuz Nobody Know I'm Crying !!
 
 
 
Reply

Unix / Linux Thread, Unmount directories at the end of a user session in ubuntu 8.10 in Operating System; Hello folks, I have a backup script for my computer running ubuntu 8.10. The script itself is great. It maps ...

Short Link: http://forum.egypt.com/enforum/showthread.php?t=11201


Bookmarks

Tags
810, directories, end, session, ubuntu, unmount, user


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump