LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-22-2004, 10:10 AM   #1
m3rc_2004
LQ Newbie
 
Registered: Jun 2004
Location: India
Distribution: Manrdake 10.0
Posts: 3

Rep: Reputation: 0
Question How do I change the umount order while shutting down?


HI,
I've been facing a small problem whenever I try to shutdown my comp.
I've got a separate partiton mounted on /var.

Now, inside the /var/ftp folder, I've mounted several folders of my hard drive which I want to share via ftp. The problem that occurs while shutting down is that the system appears to attempt to umount the partition mounted on /var before umounting the folders in /var/ftp, resulting in an error "device busy" or sth of the sort. And I know that the problem is with the umount order since this problem does not occur if I manually umount the folders within /var/ftp before shutting down.

Is there anything I can do to ensure that the umount works on the ftp folders before attempting to umount /var durin shutdown??

M3rc
 
Old 06-22-2004, 02:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
To the best of my knowledge there's no config
file that specifies in which order file-systems are
unmounted ... if you need to get rid of something
in a specific order you could always add it to
rc.6 (on a Slack-machine) or make a little script
in (symlink to) rc.0 (rc.6) with S10your_umount
to make sure it's unmounted before anything
else ;)


Cheers,
Tink
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
change boot order - Xandros coopns Linux - Newbie 1 03-24-2005 10:08 PM
Change LILO boot order ??? glenn69 Linux - Newbie 2 04-24-2004 07:01 PM
change Boot order SuSE9.0 and XP Beaver Linux - Newbie 1 03-14-2004 01:16 PM
how to change boot order Boomba Linux - Newbie 2 01-23-2004 07:33 AM
Change boot order? panicboy Linux - Software 6 01-21-2004 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration