LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 01-02-2011, 05:30 AM   #1
greyblake
LQ Newbie
 
Registered: Oct 2010
Posts: 5

Rep: Reputation: 0
VFS: Doing actions before FS unmounted


Hello, guys!
Is there any way to do some actions before file system unmounted?
I know do_umount makes call

Quote:
sb->s_op->umount_begin(sb);

But only when MNT_FORCE flag is setted. I need something similar to umount_begin that will be called everytime.

Thanks.
 
  


Reply

Tags
umount, vfs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
? On how to see an unmounted SAN brusk Linux - Hardware 1 01-19-2010 02:52 PM
Possible to see unmounted filesystem? Randux Slackware 9 03-06-2008 10:03 AM
lvm unmounted...? donkeypoodle Linux - Newbie 1 10-08-2007 07:01 PM
how to see unmounted partitions Vensan Linux - General 1 09-07-2006 01:41 AM
how to do the following actions santasballz Linux - Newbie 8 02-20-2004 01:12 AM


All times are GMT -5. The time now is 12:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration