Solve the problem that umount will fail when an opened file isn't closed
Thanks for that, Jan. What a great idea!
Quoted 3 lines
Quoted 1 line
I have implemented an auto-mount & auto-umount
facility based on USB
Quoted 1 line
hotplug.
Colin can you explain how you implemented this? I would like to try it, too.
Thanks,
Mike
--
Mike Smullin
"The day I come in front of the Gartner audience and say we have a better Unix than Linux, that'll be a good day" -- Steve Ballmer
http://www.mikesmullin.com
Quoted 39 lines · --- Jan Engelhardt
Quoted 3 lines
Hi all,
I have implemented an auto-mount & auto-umountfacility based on USB
Quoted 2 lines
hotplug.
An annoying problem will occur when some processdoesn't close its open file
Quoted 1 line
and auto-umount is trying to umount that mount
point after usb disk has been
Quoted 2 lines
unplugged.
Is there any way to force it to be umounted in thissituation?
Quoted 1 line
fs/super.c:/* Forget any remaining inodes */ if (invalidate_inodes(sb)) { printk("VFS: Busy inodes after unmount of %s. " "Self-destruct in 5 seconds. Have a nice day...\n", sb->s_id); }That's what happens if you eject a CD. The box won't explode though.
Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Hi Mike,
Do you want to see the hotplug agent code?
I can mail it to you and I would be very grateful if you can give me any suggestion to improve it.
It will be used on a consumer product and would be better to be very stable.
Regards,
Colin
----- Original Message -----
From: "Mike Smullin" <[email protected]>
To: "Jan Engelhardt" <[email protected]>; "colin" <[email protected]>
Cc: <[email protected]>
Sent: Saturday, June 17, 2006 12:39 AM
Subject: Re: Solve the problem that umount will fail when an opened file isn't closed
Quoted 7 lines
Thanks for that, Jan. What a great idea!
Quoted 3 lines
Quoted 1 line
I have implemented an auto-mount & auto-umount
facility based on USB
Quoted 1 line
hotplug.
Colin can you explain how you implemented this? I would like to try it,
too.
Quoted 51 lines
Thanks,
Mike--
Mike Smullin
"The day I come in front of the Gartner audience and say we have a better Unix than Linux, that'll be a good day" -- Steve Ballmer
http://www.mikesmullin.comQuoted 39 lines · --- Jan Engelhardt
Quoted 3 lines
Hi all,
I have implemented an auto-mount & auto-umountfacility based on USB
Quoted 2 lines
hotplug.
An annoying problem will occur when some processdoesn't close its open file
Quoted 1 line
and auto-umount is trying to umount that mount
point after usb disk has been
Quoted 2 lines
unplugged.
Is there any way to force it to be umounted in thissituation?
Quoted 1 line
fs/super.c:/* Forget any remaining inodes */ if (invalidate_inodes(sb)) { printk("VFS: Busy inodes after unmount of %s. " "Self-destruct in 5 seconds. Have a nice day...\n", sb->s_id); }That's what happens if you eject a CD. The box won't explode though.
Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/