Print this page
4833 Remove volrmmount
4845 rm(u)mount don't always print mount/unmount errors
4846 HAL partition names don't match real parition names
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
@@ -15,14 +15,16 @@
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
- */
-/*
+ *
+ *
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2014 Andrew Stormont
*/
/*
* Vold compatibility for rmvolmgr: emulate old commands as well as
* action_filemgr.so to notify legacy apps via /tmp/.removable pipes.
@@ -128,11 +130,10 @@
};
#define NOTIFY_DIR "/tmp/.removable" /* dir where filemgr looks */
#define NOTIFY_NAME "notify" /* named pipe to talk over */
-static void volrmmount_usage();
static void volcheck_usage();
static int vold_action(struct action_arg *aap);
static void vold_update_mountpoints(struct action_arg *aap);
static char *not_mountable(struct action_arg *aa);
static int create_one_notify_file(char *fstype,