21f2402e20
a dedicated mount server. This is pretty much a straight copy from the AutoMounter code from Tracker, except * the eject on unmount setting has been added (in Tracker, it's part of the general settings, not the mount specific ones), * scripting features have been added, such that it becomes possible to trigger mounting the previoulsy mounted volumes from the outside, and most importantly block until the operation is done (waiting for the reply). TODO: * Change Tracker to not run it's own AutoMounter, but send messages to the new server. * Move the eject when unmounting setting to the mount settings window. * Enable the mount_server in the Bootscript. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33484 a95241bf-73f2-0310-859d-f6bbb57e9c96
21 lines
499 B
C
21 lines
499 B
C
/*
|
|
* Copyright 2007-2009, Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _MOUNT_SERVER_H
|
|
#define _MOUNT_SERVER_H
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
const uint32 kMountVolume = 'mntv';
|
|
const uint32 kMountAllNow = 'mntn';
|
|
const uint32 kSetAutomounterParams = 'pmst';
|
|
const uint32 kVolumeMounted = 'vmtd';
|
|
const uint32 kUnmountVolume = 'umnt';
|
|
|
|
const char* kMountServerSignature = "application/x-vnd.Haiku-mount_server";
|
|
|
|
|
|
#endif // _MOUNT_SERVER_H
|