emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: testing for a remote file to include file on a Windows mappeddrive


From: Eli Zaretskii
Subject: Re: testing for a remote file to include file on a Windows mappeddrive
Date: Sun, 27 Jan 2008 00:31:10 +0200

> From: Michael Albinus <address@hidden>
> Date: Sat, 26 Jan 2008 23:15:08 +0100
> Cc: Jason Rumney <address@hidden>, Drew Adams <address@hidden>,
>       Emacs-Devel <address@hidden>
> 
> Rough idea: maybe one could use the device number, returned as last
> attribute of `file-attributes', for a check whether a file has been
> "mounted". I haven't seen code evaluating the device number.  And I
> don't know whether it is set to a useful value on W32, for example.

Maybe I'm missing something, but how can the device number be used,
even on Posix platforms, to check if the file is on a mounted volume?
Can you show sample code?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]