Commit Graph

135 Commits

Author SHA1 Message Date
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 9989571099 forgot to add uid to the mount optmap
SVN revision: 59432
2011-05-16 02:16:26 +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 7561260963 forgot eeze_disk_udev_get_parent earlier
SVN revision: 59429
2011-05-16 00:57:16 +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 970e932e85 fix failure from doxy migration script
SVN revision: 59423
2011-05-15 22:58:36 +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
Mike Blumenkrantz 9ca9d4a0c5 update version number define
SVN revision: 59418
2011-05-15 22:31:54 +00:00
Mike Blumenkrantz 374df30b47 add some new functions for direct udev lookups on disk devices
SVN revision: 59412
2011-05-15 20:50:26 +00:00
Carsten Haitzler 3441c6f107 doxy -> .h
SVN revision: 58486
2011-04-08 10:43:13 +00:00
Mike Blumenkrantz f97e7c8d40 same for old libmount...
SVN revision: 58269
2011-04-02 03:30:56 +00:00
Mike Blumenkrantz a93764d3b7 null variable on shutdown
SVN revision: 58268
2011-04-02 03:05:00 +00:00
Christopher Michael 685daa2188 Eeze: Fix 'mount_point may by used uninitialized'.
SVN revision: 58076
2011-03-24 20:27:55 +00:00
Christopher Michael 484f82ba3b Eeze: Fix 'syspath may be used uninitialized'.
SVN revision: 58075
2011-03-24 20:27:09 +00:00
Mike Blumenkrantz a02ceb683c +eeze_udev_syspath_get_devname, thanks to Clement Battin
SVN revision: 57854
2011-03-18 17:10:50 +00:00
Mike Blumenkrantz 8c29186b5a sed -i 's/[\t ]\+$//' **/*.{c,h}
SVN revision: 57709
2011-03-12 18:41:03 +00:00
Mike Blumenkrantz 6e1be20e6c +EEZE_UDEV_TYPE_NET, thanks to Clement Battin
SVN revision: 57708
2011-03-12 18:39:33 +00:00
Mike Blumenkrantz 27751d0921 fix bug with removing devices not passing filter in watches, part of bug pointed out by Clement Battin on ML
SVN revision: 57499
2011-03-03 16:30:45 +00:00
Mike Blumenkrantz fa6231f7f2 fix missing ! because I'm a moron.
not backporting because this never gets installed anyway
no changelog update for the same reason

SVN revision: 57497
2011-03-03 15:52:43 +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 4697916227 add new option for verbose to print some debug info, parse options a bit better, grab+use fstab mount opts where available
SVN revision: 56946
2011-02-11 03:12:34 +00:00
Mike Blumenkrantz f53ca1a6ab formatting
SVN revision: 56945
2011-02-11 03:11:09 +00:00
Mike Blumenkrantz 345e17dbfa demonstrate eeze_disk_mountopts_get for coverage
SVN revision: 56883
2011-02-09 21:36:37 +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 a2b2f60c07 slightly more descriptive error messages for TAsns who think mount apps magically know where disks should be mounted
SVN revision: 56875
2011-02-09 20:44:21 +00:00
Mike Blumenkrantz 5feb32f820 forgot a safety check here
SVN revision: 56873
2011-02-09 20:38:09 +00:00
Mike Blumenkrantz 259f8aad73 make text output slightly more descriptive to avoid false bug reports
SVN revision: 56714
2011-02-04 18:28:01 +00:00
Michael Jennings 5a1858d066 Add spec file. Don't install test program.
SVN revision: 56642
2011-02-02 03:12:08 +00:00
Mike Blumenkrantz 516fbcfae6 fix makefiles
q66: SPANK SPANK SPANK!


SVN revision: 56386
2011-01-29 21:17:44 +00:00
Daniel Kolesa 31ffe80390 oh, forgot to get rid of this as well.
SVN revision: 56376
2011-01-29 11:39:09 +00:00
Daniel Kolesa 3e477c806a No LIBUDEV_CFLAGS needed in Makefile.am, because that's already included in EEZE_CFLAGS. Having LIBUDEV_CFLAGS breaks building on systems without eeze_mount build.
SVN revision: 56375
2011-01-29 11:31:46 +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
Carsten Haitzler c2d14d60ec been removing too many headers. fix warning.
SVN revision: 56187
2011-01-16 08:14:42 +00:00
Mike Blumenkrantz e38d447210 add unistd.h and kill off another dead store
SVN revision: 56143
2011-01-15 20:25:44 +00:00
Mike Blumenkrantz b4db71d32b fix a dead store and make removable drive finds return non-usb devices as well
SVN revision: 56142
2011-01-15 20:24:13 +00:00
Mike Blumenkrantz 67d6542cc1 actually return the ret value
SVN revision: 56141
2011-01-15 20:14:40 +00:00
Mike Blumenkrantz d434bb981e more fd fixes because I'm braindead today
SVN revision: 55904
2011-01-05 21:13:38 +00:00
Mike Blumenkrantz 3da7cbc47c zero errno before open calls
SVN revision: 55902
2011-01-05 20:32:42 +00:00