@gnashley
buddy, I wish You a fast health recovery.
Quote:
|
Originally Posted by gnashley
You really need to have a way for the user to 'safely remove device' by unmounting all mounted partitions. Otherwise there may be data loss. Since the udev or hotplug programs run as root it is no prblem to 'unmount -l' the partitions whnever the USB 'remove' ACTION is triggered. But even with sync mount option we can't know that the buffers are flushed. (Trying to unmount while the device is already being synced would probably hang things up as well.
|
I agree, there simple are flash-keys that are 'lit' all the time, so it's hard to tell when they are idling... There are the other ones without any light too. ;-)
Quote:
|
Steve, I purposely left holes in my code to merge some of your code in. I think the idea deserves some cooperative work and particularly testing.
|
1. We should discuss (vote?) the name options first.
2. The way of interoperation - use of .conf files is to be determined - shared or not?
3. The way of initialization
4. The places of deployment of the managers and files
5. The way of publishing
My suggestions (so far):
1.a. ears - Easy Access Removable Storages
1.b. departman - DEtachable PARTition MANager
1.c. OSmount - OS mount :-)
2.I would suggest separate udev.*.conf and hotplug.*.conf files in a subidir in /etc/ and a shared fstab.conf for the sake of simplicity and control
3. It should be initialized 'en-mass' some way, not by patching rc.local ...
4. The managers should reside on /usr/sbin and a log would be handy in /var/<progname>.log
5. We could publish on SFnet, on personal servers or LP.net or all of it together. We had (at least I) to learn some sort of cvs?
Quote:
|
Sorry if I get confusing -I've had a major surgery 2 weeks ago and still not doing very well, so it's hard to organize my thoughts well.
|
Just You recover in peace pall. Once You back in the saddle, we gladly come back on you :-) for this (kidding).