From: Jari Aalto <jari.aalto@cante.net>
Subject: 21.3 peculiar error: directory-files fails on SAMBA 3.0.10 mounts
Date: Fri, 21 Jan 2005 11:21:41 +0200 [thread overview]
Message-ID: <E1Cruz7-00024X-NL@cante.cante.net> (raw)
This is a peculiar error, which I have come accross several times, but
which is hard to demonstrate, because it appears randomly. In any
case, I'm reporting it so that perhaps inspecting the file reading
code in C level could reveal something.
There seems to be some reading problem with `directory-files' which is
sometimes unable to read local user's smbmount(1) directrories.
Test system:
Debian/unstable
ii samba 3.0.10-1 a LanManager-like file and printer server fo
ii samba-common 3.0.10-1 Samba common files used by both the server a
Mounted as local user with smbmount(1). Target system is Windows 2000 sp4.
Output from mount(1):
//w2kpicasso/jaalto on /home/jaalto/var/mount/jaalto type smbfs (rw)
Normal listing calls succeed at OS level:
$ ls /home/jaalto/var/mount/jaalto OK
Normal dired calls succeed in Emacs too. I assume that's because
external ls(1) call is used:
C-x d /home/jaalto/var/mount/jaalto
But lisp level call doesn't
(directory-files "/home/jaalto/var/mount/jaalto")
-> returns nil or sometimes message "interrupted system call" is
flashed during tests.
debug-on-error was t and debug-ignored-error nil during tests.
How the situation could possibly be triggered:
1. Keep emacs running
2. smbmount, smbumount file system several times
3. try directory-files
The situation is corrected by shutting down emacs and starting it again,
but the underlying problem is there waiting to appear again.
Jari
reply other threads:[~2005-01-21 9:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Cruz7-00024X-NL@cante.cante.net \
--to=jari.aalto@cante.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).