3 ms·
ln -sf /usr/bin/emacs /sbin/init
by mike_ivanov 12y ago
ln -sf /usr/bin/emacs /sbin/init
- scott_karana 12y agoWhere would you find ln, though? ;)
- digisign 12y agoThat's pre reboot.
- pyre 12y agoWhere would you find gcc to patch the kernel? :P
- daveloyall 12y agomake-symbolic-link is an interactive built-in function in `C source code'. (make-symbolic-link FILENAME LINKNAME &optional OK-IF-ALREADY-EXISTS) Make a symbolic link to FILENAME, named LINKNAME. Both args must be strings. Signals a `file-already-exists' error if a file LINKNAME already exists unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. A number as third arg means request confirmation if LINKNAME already exists. This happens for interactive use with M-x. or... dired-do-symlink is an interactive autoloaded compiled Lisp function in `dired-aux.el'. (dired-do-symlink &optional ARG) Make symbolic links to current file or all marked (or next ARG) files. When operating on just the current file, you specify the new name. When operating on multiple or marked files, you specify a directory and new symbolic links are made in that directory with the same names that the files currently have. The default suggested for the target directory depends on the value of `dired-dwim-target', which see. For relative symlinks, use M-x dired-do-relsymlink. ...It doesn't seem to depend on an external `ln`. http://git.savannah.gnu.org/cgit/emacs.git/tree/src/fileio.c#n2444 http://git.savannah.gnu.org/cgit/emacs.git/tree/src/fileio.c...
- scott_karana 12y agoNice find! :-)