Re: VFS integration with kernel mounts
- From: nf2 <nf2 scheinwelt at>
- To: Jerome Haltom <wasabi larvalstage net>
- Cc: "gnome-vfs-list gnome org" <gnome-vfs-list gnome org>, "gtk-devel-list gnome org" <gtk-devel-list gnome org>, David Zeuthen <david fubar dk>, Alexander Larsson <alexl redhat com>
- Subject: Re: VFS integration with kernel mounts
- Date: Mon, 07 May 2007 16:56:32 +0200
Jerome Haltom wrote:
So, UUID file identifiers look horrible, etc. I agree. But why are we
then arguing for using them in gvfs? The same arguments apply there.
Because we want to solve the issue of opening a link to an item on a
removable device, and be properly prompted to insert the device.
Whatever this requires, we'll bring up. =) Any other ideas?
perhaps something like this? (from my fusi.h header file...)
/* ---------- path utilities ---------- */
/*
fast operations to detemine information about filesystem paths (uses
cached list of fuse mountpoints)
hint: the mainloop has to be active to pick up changes
*/
typedef enum
{
FUSI_CHKPATHRESULT_OTHER = 1,
FUSI_CHKPATHRESULT_FUSE_MOUNTED = 2,
FUSI_CHKPATHRESULT_FUSE_BUT_NOT_MOUNTED = 3
} FusiChkPathResult;
/** checks if the path is pointing to/below a fusi mountpoint */
FusiChkPathResult fusi_chk_path(FusiSession * session, char * path);
/** returns NULL if not fuse-mounted or not potentially fuse-mounted */
FusiMountPoint * fusi_get_mountpoint_for_path(FusiSession * session,
char * path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]