I'd like to map my raspberry pi's sd card from my linux laptop, so I can directly edit text files without using vim. How would I do this?
- Install sshfs and possibly fuse on your laptop
- On your laptop create a directory on which you will mount your RPi
$ mkdir /mnt/rpi
On your laptop add the following line to your
/etc/fstabfile (sudo) changing the xxx to the actual RPI ip address
email@example.com:/ /mnt/rpi fuse user,noauto,uid=0,gid=0,follow_symlinks,defaults 0 0
- Finally mount:
$ mount /mnt/rpi
Samba is one option - probably you just have permissions wrong NFS is another option
If Sublime Text can't work with networked filesystems I guess you need to choose a different editor.
You can also run an editor (doesn't have to be vim) on the raspberrypi
For text based editor you just ssh in and fire it up
For graphical editor, make sure you have "ForwardX11 yes" in your
/etc/ssh/ssh_config, and fire it up