LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
Search this Thread
Old 01-02-2011, 06: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


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


All times are GMT -5. The time now is 09:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration