Re: [lfs-support] the new Linux Subsystem in Win 10
On Sat, Apr 29, 2017 at 01:35:54AM -0500, Rob wrote: > Last year I heard that M$ was including a Ubuntu-based subsystem in its > Windows 10 product. I wasn't sure this was actually going to work very well, > but apparently it does. > Can this be used to build LFS? I'm not sure it can because of the ext* file > systems you would need, but i'm curious nonetheless. The lack of ext* filesystems sounds a bit fatal - you would need to create an LFS filesystem which could eventually be booted, and I can't think of any 'doze filesystems which work well enough to do that. But the proof of the pudding is in the eating, and perhaps you could create an fs first, from a live CD - seems like a waste of time that could be used for other things, but if it scratches your itch them feel free to burn cycles on it. All sorts of experiences which are ultimately futile can have a learning component ;) ĸen -- I live in a city. I know sparrows from starlings. After that everything is a duck as far as I'm concerned. -- Monstrous Regiment -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] the new Linux Subsystem in Win 10
On Apr 29, 2017 4:47 AM, "Simon Geard"wrote: On Sat, 2017-04-29 at 01:35 -0500, Rob wrote: > Last year I heard that M$ was including a Ubuntu-based subsystem in > its Windows 10 product. I wasn't sure this was actually going to work > very well, but apparently it does. > Can this be used to build LFS? I'm not sure it can because of the > ext* file systems you would need, but i'm curious nonetheless. Interesting question. From what I've read of it, the mechanism basically involves having the Windows kernel expose an implementation of the Linux syscall interfaces... so to userspace, it's just Linux binaries talking to what they think is a Linux kernel. That said, I don't know whether the emulation goes far enough to do an LFS build... e.g. does it provide support for /sys or /proc or kernel interfaces other than syscalls? It's designed to make life easier for developers porting server apps between Windows and Linux, but such apps don't generally need those interfaces - they just need glibc to work - so the emulation may not be sufficient for everything. /proc, /sys, and /dev are implemented. It actually boots Upstart when executing the subsystem. I at least remember that much -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] the new Linux Subsystem in Win 10
> Last year I heard that M$ was including a Ubuntu-based subsystem in its > Windows 10 product. I wasn't sure this was actually going to work very > well, but apparently it does. The impression I got was this is something they have for their version of virtualized containers in servers to compete with AWS, et al. -- Paul Rogers paulgrog...@fastmail.fm Rogers' Second Law: "Everything you do communicates." (I do not personally endorse any additions after this line. TANSTAAFL :-) -- http://www.fastmail.com - Same, same, but different... -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] the new Linux Subsystem in Win 10
On Sat, 2017-04-29 at 01:35 -0500, Rob wrote: > Last year I heard that M$ was including a Ubuntu-based subsystem in > its Windows 10 product. I wasn't sure this was actually going to work > very well, but apparently it does. > Can this be used to build LFS? I'm not sure it can because of the > ext* file systems you would need, but i'm curious nonetheless. Interesting question. From what I've read of it, the mechanism basically involves having the Windows kernel expose an implementation of the Linux syscall interfaces... so to userspace, it's just Linux binaries talking to what they think is a Linux kernel. That said, I don't know whether the emulation goes far enough to do an LFS build... e.g. does it provide support for /sys or /proc or kernel interfaces other than syscalls? It's designed to make life easier for developers porting server apps between Windows and Linux, but such apps don't generally need those interfaces - they just need glibc to work - so the emulation may not be sufficient for everything... Simon. signature.asc Description: This is a digitally signed message part -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] the new Linux Subsystem in Win 10
On Sat, Apr 29, 2017 at 1:35 AM, Robwrote: > Last year I heard that M$ was including a Ubuntu-based subsystem in its > Windows 10 product. I wasn't sure this was actually going to work very > well, but apparently it does. > Can this be used to build LFS? I'm not sure it can because of the ext* > file systems you would need, but i'm curious nonetheless. > I had the same idea, but didn't get around to it. Probably could at least use it as a chroot system... -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] the new Linux Subsystem in Win 10
Last year I heard that M$ was including a Ubuntu-based subsystem in its Windows 10 product. I wasn't sure this was actually going to work very well, but apparently it does. Can this be used to build LFS? I'm not sure it can because of the ext* file systems you would need, but i'm curious nonetheless. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style