* Removing trailing slash breaks SSHFS
@ 2012-03-24 9:09 Martin Panter
2012-03-26 8:18 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Martin Panter @ 2012-03-24 9:09 UTC (permalink / raw)
To: util-linux
Hi
I am using the util-linux version 2.21 on Arch Linux:
https://www.archlinux.org/packages/core/x86_64/util-linux
They have patched the 2.21-6 package to include the following commit
“lib/canonicalize: always remove tailing slash”:
https://git.kernel.org/?p=utils/util-linux/util-linux.git;a=commitdiff;h=28074a0
The result of this is that my SSHFS entry in my “fstab” file no longer
works properly. To demonstrate, this “mount” command
sudo mount -t fuse 'sshfs#marty@thee:/' /media/thee
strips the trailing slash and calls
/sbin/mount.fuse sshfs#marty@thee: /media/thee -o rw
which mounts the home directory rather than the entire remote file
system. A workaround seems to be to specify a double slash (e.g.
“thee://”), but it doesn’t seem healthy and I was wondering if either
this recent slash-removal could be avoided in the “mount” command, or
if my magic SSHFS usage was abusing how “mount” is meant to work.
-Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-26 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-24 9:09 Removing trailing slash breaks SSHFS Martin Panter
2012-03-26 8:18 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox