Commit Graph

37 Commits

Author SHA1 Message Date
Mike Blumenkrantz 52c05aaa01 eeze mount operations will now only retry up to 3 times when they fail before emitting an error event
SVN revision: 74736
2012-08-01 12:43:55 +00:00
Mike Blumenkrantz ba567e440e add EEZE_DISK_MOUNTOPT_NODEV
yes, I realize we're in a freeze, but this is trivial and important


SVN revision: 74564
2012-07-30 09:49:05 +00:00
Mike Blumenkrantz d995e25c80 never attempt to use disk label for mounting
SVN revision: 74563
2012-07-30 09:10:35 +00:00
Mike Blumenkrantz 68a09359bd eeze now unmounts using the devnode instead of the mount point
SVN revision: 74560
2012-07-30 08:22:05 +00:00
Mike Blumenkrantz ce53e4f2e0 failing to create a mount point no longer results in an error since it's possible for this to be handled by certain mount utilities
SVN revision: 74559
2012-07-30 08:18:01 +00:00
Carsten Haitzler e33c5d05cd and... first monitor mtab not fstab for MOUNT changes/ mtab is
"current mounted status" . fstab is "stuff i WANT to mount".

secondly.. if mtab is a symlink.. pretend we arent monitoring. this
then kicks in the poll checker after mount cmd is done.



SVN revision: 74545
2012-07-29 13:21:09 +00:00
Mike Blumenkrantz 7914a063ea add a third libmount backend for "current" libmount, where we are too cool for /etc/mtab
SVN revision: 74326
2012-07-23 14:08:13 +00:00
Mike Blumenkrantz edfa1dfe61 add fallback for mounting when a disk has no uuid
SVN revision: 72008
2012-06-12 10:12:51 +00:00
Mike Blumenkrantz b739c80dcd remove unused members of disk error struct so I don't get stuck with a broken public api
SVN revision: 65043
2011-11-11 05:37:50 +00:00
Mike Blumenkrantz 39dce75051 use correct list find function sigh
SVN revision: 61777
2011-07-26 21:19:08 +00:00
Mike Blumenkrantz cf430612a0 create mount point directory if it doesn't exist
SVN revision: 60866
2011-06-30 08:15:42 +00:00
Mike Blumenkrantz 20634af237 remove unused variable
SVN revision: 60417
2011-06-17 04:00:28 +00:00
Mike Blumenkrantz 13673082e0 stat was a bad choice
SVN revision: 60355
2011-06-15 15:48:41 +00:00
Mike Blumenkrantz c4b01dc22f account for canceled operations (no events for these), remove freed disks from event list
SVN revision: 59446
2011-05-16 11:32:11 +00:00
Mike Blumenkrantz d35ef797bc add docs for eject, fix some devastating typos in eject, eject now unmounts mounted disks before ejecting
SVN revision: 59445
2011-05-16 11:24:26 +00:00
Mike Blumenkrantz 775b86bccd add eject functions/events
SVN revision: 59443
2011-05-16 11:03:06 +00:00
Mike Blumenkrantz d05399250e trailing whitespace--
SVN revision: 59441
2011-05-16 10:38:47 +00:00
Mike Blumenkrantz f4665b0140 track all disk objects, fix typo in eeze optmap from earlier, catch and create external mount events
SVN revision: 59439
2011-05-16 09:52:16 +00:00
Mike Blumenkrantz 56b342ccc9 eeze_disk_cancel for canceling pending operations
SVN revision: 59430
2011-05-16 01:32:40 +00:00
Mike Blumenkrantz 9d11cdbc20 automatically apply iocharset=utf8 for jfs (NOT with FAT. causes corruption)
SVN revision: 59428
2011-05-16 00:13:42 +00:00
Mike Blumenkrantz 1856a909e3 add a mountopt flag for automatically adding uid
SVN revision: 59427
2011-05-16 00:06:41 +00:00
Mike Blumenkrantz ad7a0d33b0 apply mount wrapper to umount, use ecore_exe_run instead of pipe_run
SVN revision: 59426
2011-05-15 23:54:30 +00:00
Mike Blumenkrantz 6ff3f70d1b just use ecore_exe_run instead of pipe_run
SVN revision: 59425
2011-05-15 23:50:06 +00:00
Mike Blumenkrantz 58c89b619b new functions for applying a wrapper for (u)mount
SVN revision: 59422
2011-05-15 22:56:14 +00:00
Mike Blumenkrantz 4139d9282e use defines as their string value in printfs
SVN revision: 59421
2011-05-15 22:50:22 +00:00
Mike Blumenkrantz b821494eed reorder mount errors, add default handler
SVN revision: 59420
2011-05-15 22:34:03 +00:00
Mike Blumenkrantz f40368992f fix result code handling for mount: errors can be ORed
SVN revision: 59419
2011-05-15 22:32:17 +00:00
Carsten Haitzler 3441c6f107 doxy -> .h
SVN revision: 58486
2011-04-08 10:43:13 +00:00
Mike Blumenkrantz 8c29186b5a sed -i 's/[\t ]\+$//' **/*.{c,h}
SVN revision: 57709
2011-03-12 18:41:03 +00:00
Mike Blumenkrantz 4337508836 add filter for exe events
SVN revision: 57000
2011-02-14 01:47:37 +00:00
Mike Blumenkrantz 04a0ecc263 disregard previous commit, must have been high
SVN revision: 56999
2011-02-14 01:32:40 +00:00
Mike Blumenkrantz 1914e41eb4 use an id pointer to differentiate eeze_mount events and avoid segvs
SVN revision: 56997
2011-02-14 00:50:29 +00:00
Mike Blumenkrantz 16b61622e6 support libmount 2.19, fix some bugs here and there, automatically grab fstab/mtab mount flags when using eeze_disk_mountopts_get with new libmount
SVN revision: 56947
2011-02-11 03:14:00 +00:00
Mike Blumenkrantz 9d811df5b2 switch EEZE_DISK_MOUNTOPT_DEFAULTS to a define
SVN revision: 56882
2011-02-09 21:36:14 +00:00
Mike Blumenkrantz 178cda4124 implement actual handling of mountopts, add utf8 to default mountopts, allow iso automounting in eeze_mount
+EEZE_DISK_MOUNTOPT_UTF8 = (1 << 2)
+EEZE_DISK_MOUNTOPT_NOEXEC = (1 << 3)
+EEZE_DISK_MOUNTOPT_NOSUID = (1 << 4)
+EEZE_DISK_MOUNTOPT_REMOUNT = (1 << 5)
+EAPI Eina_Bool      eeze_disk_mountopts_set(Eeze_Disk *disk, int opts);
+EAPI int            eeze_disk_mountopts_get(Eeze_Disk *disk);



SVN revision: 56879
2011-02-09 21:31:11 +00:00
Mike Blumenkrantz 5feb32f820 forgot a safety check here
SVN revision: 56873
2011-02-09 20:38:09 +00:00
Mike Blumenkrantz c9e2fc434e eeze 1.1 in trunk: disk mounting is now possible
SVN revision: 56362
2011-01-29 04:21:53 +00:00