Hackerboard Wiki HaboBlog
Hackerboard bei Facebook Hackerboard bei Google+ Hackerboard bei Twitter

[HaBo]

 
Linux/UNIX Linuxverfechter finden hier Weggefährten.

autofs + sshfs: einzelne home dirs mounten

Diskussion: autofs + sshfs: einzelne home dirs mounten im Forum Linux/UNIX, in der Kategorie Operating Systems; Anzeige Hi, ich würde gerne _nur_ mein Home Directory über sshfs automatisch einbinden. Autofs funktioniert echt optimal, bis auf eine ...

Antwort
Alt 13.04.10, 19:53   #1 (permalink)
Senior Member
 
Registriert seit: 26.03.06
Serow Leistung: 8086
Likes: 16
Standard autofs + sshfs: einzelne home dirs mounten

Anzeige

Hi,

ich würde gerne _nur_ mein Home Directory über sshfs automatisch einbinden. Autofs funktioniert echt optimal, bis auf eine Kleinigkeit: So sieht meine config aus:

Code:
root@mini:~# cat /etc/auto.master
/mnt/sshfs      /etc/auto.sshfs uid=1000,gid=1000,--timeout=30,--ghost
/home           /etc/auto.sshfs.home --timeout=2 --ghost

root@mini:~# cat /etc/auto.sshfs.home 
mathias -fstype=fuse,allow_other,rw,uid=1000,gid=1000 :sshfs\#10.0.1.1\:/home/mathias
userX -fstype=fuse,allow_other,rw,uid=1001,gid=1001 :sshfs\#10.0.1.1\:/home/userX

root@mini:~#
Dadurch kann aber in /home kein lokales Verzeichnis mehr angelegt werden:

Code:
root@mini:/home# mkdir test
mkdir: cannot create directory `test': No such file or directory
root@mini:/home#
Ich hätte das Home von "userX" gerne lokal, und meines ("mathias") remote. Das scheint nicht möglich zu sein oder?

cu
serow
Serow ist offline   Mit Zitat antworten
Antwort
   
- Anzeige -

Werbung ist gerade online    

[HaBo] » Operating Systems » Linux/UNIX » autofs + sshfs: einzelne home dirs mounten
Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind aus
Pingbacks sind aus
Refbacks sind aus



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61