News for hackers. Stuff that matters.
Re:Ubuntu on Windows by rsync on Thursday March 31, 2016 @12:50AM (#11395063)
"The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c)."

How do these ubuntu tools interact with the rest of the windows system that they are running on ?

Can I 'kill -9 explorer.exe' ?

Can I touch a file in /mnt/c/(whatever)/Desktop ... and have that file actually show up on my windows desktop ?

Re:Ubuntu on Windows by timgws on Thursday March 31, 2016 @01:55AM (#11395254)
PIDs from Windows are not exposed when looking at /proc, so I am guessing you will not be able to `kill -9 explorer.exe` unless there is some real voodoo going on (and then it would not be POSIX compatible, anyways).

I think the command that you meant to say was killall :) `kill` will only kill pids, not process names.

Re:Ubuntu on Windows by JdeBP on Sunday April 03, 2016 @08:27AM (#11415872)
This was one of the selling points of the old Windows NT POSIX subsystem (the Interix-derived SFU/SFUA one) over its predecessor. Programs such as "ps" and "kill" can "see" Win32 processes, with POSIX process IDs.

* https://technet.microsoft.com/en-gb/library/bb463219.aspx#EH...

* https://technet.microsoft.com/en-gb/magazine/2005.05.interop...