On Mon, Mar 7, 2016 at 4:30 PM, Chagin Dmitry <dcha...@freebsd.org> wrote:
> On Mon, Mar 07, 2016 at 03:21:38PM +0000, Miguel C wrote: > > Melhores Cumprimentos // Best Regards > > ----------------------------------------------- > > *Miguel Clara* > > *IT - Sys Admin & Developer* > > > > On Mon, Mar 7, 2016 at 7:31 AM, Chagin Dmitry <dcha...@freebsd.org> > wrote: > > > > > On Mon, Mar 07, 2016 at 01:42:46AM +0000, Miguel C wrote: > > > > https://dpaste.de/ucXY > > > > > > > > It seems to fail do to missing "shm" but this should work with the > link > > > to > > > > tmp on devfs.conf, or at least it did before. > > > > > > > yes, it's related to the /dev/shm. please, mount tmpfs to the /tmp, ie > put > > > tmpfs /tmp tmpfs rw,size=1g,mode=1777 0 0 > > > to the /etc/fstab > > > > > > > > > > > Hum I see, was this changed recently? I've been using ZFS in both 10.x > and > > Current and it was working without tmpfs > > > > > > For testing I used tmpfs on "/ram" and change the link line on devfs.conf > > which is now: > > # link shm > > link /ram shm > > > > And sublime works fine like this. > > > nice, > > > In any case I can adapt the port message to check for this or maybe even > > add a better way to check it in sublime.sh > > > already do, PR: ports/207769 > > > And many thanks for the ktrace/kdump parameters those should prove handy > in > > futther debugging of linux ports :) > thanks > Ah cool, I was doing this in the .sh script: cat /usr/local/bin/sublime #!/compat/linux/bin/sh if [ -L "/dev/shm" ];then /usr/local/share/sublime/sublime_text "$@" else echo "Some Linux applications use shared memory. Sublime Text 3 can not function without it, you need to set up a link from /dev/shm to a suitable place, e.g. by adding the following line to /etc/devfs.conf (takes effect on each boot - restart devfs to apply then change now): link /tmp shm " exit 1; fi Which would still pass (wrongfully) cause tmp was not using tmpfs, but I guess that won't be needed anymore, still probably best to keep it for freebsd 10.x _______________________________________________ freebsd-emulation@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"