News for hackers. Stuff that matters.
Re:Security in Plan 9 (2002) by tyingq on Wednesday September 28, 2022 @10:17AM (#33008236)
The 9p filesystem lives on in a few "modern" places, like within WSL, QEMU, and other places where it's a good bridge between a host OS and container or VM.
Re:Security in Plan 9 (2002) by macshome on Wednesday September 28, 2022 @10:47AM (#33008601)
Apple added support just in 2019!

  man mount_9p
Re:Security in Plan 9 (2002) by buildbot on Wednesday September 28, 2022 @01:19PM (#33010525)
Huh, could one use this instead of NFS then?
Re:Security in Plan 9 (2002) by butterisgood on Wednesday September 28, 2022 @03:15PM (#33011988)
If you don't like performance very much - sure :-).
Re:Security in Plan 9 (2002) by octetta on Thursday September 29, 2022 @12:57AM (#33016559)
Anyone have an example, say of how to use this command to mount the public plan9 repo?
Re:Security in Plan 9 (2002) by macshome on Tuesday October 04, 2022 @08:17AM (#33079264)
I've not messed with it, but will once I find some free time.

There is an old KEXT on GitHub [0] that can mount them from the Finder, but KEXTs are on the way out...

[0]: https://github.com/benavento/mac9p

Re:Security in Plan 9 (2002) by macshome on Tuesday October 04, 2022 @08:21AM (#33079275)
I'm fairly sure that it's used on Mac for the virtualization frameworks when working with guest VMs.
Re:Security in Plan 9 (2002) by anderspitman on Wednesday September 28, 2022 @03:16PM (#33011997)
Unfortunately it's not implemented for Windows hosts. There's a patch in the works but the review of the first submission came back with a lot of requested changes. They're planning another submission though so hopefully it makes it in.
Re:Security in Plan 9 (2002) by michael-ax on Wednesday September 28, 2022 @12:12PM (#33009667)
unless i have done it hopelessly wrong, you may be overstating it a little bit by calling it good.

virtfs is the good one, not 9p.

Re:Security in Plan 9 (2002) by stonogo on Wednesday September 28, 2022 @12:18PM (#33009752)
virtfs USES 9p.
Re:Security in Plan 9 (2002) by spijdar on Wednesday September 28, 2022 @01:56PM (#33011010)
I think GP meant to say (the extremely confusingly named) virtio-fs, as opposed to virtfs/9pvirtio.

Virtio-fs is independent of 9P and has optional support for using shared memory to greatly increase performance, it also maps better to the permissions and metadata of "modern" filesystems IIRC, not sure if 9pvirtio had this problem but I remember coworkers having permissions problems with the 9P bridge in WSL2 (Plan9's permission system is very simple and doesn't map well to other VFS's)

Re:Security in Plan 9 (2002) by MisterTea on Wednesday September 28, 2022 @02:35PM (#33011522)
> Plan9's permission system is very simple and doesn't map well to other VFS's

Plan 9 is a pure VFS OS. 9p uses regular unix permissions which map just fine. The major issue is that since plan 9 is all vfs, there are no crufty unix leftovers like hidden dot files or hard/soft links. User specific configuration files belong in $user/lib and bind replaces hacky links. These old unix hacks were accommodated in 9p2000.u. Further extensions to .u resulted in 9p2000.L which adds some Linux metadata stuff (I cant remember right now, my memory of 9p2000.u/L is fading).

Re:Security in Plan 9 (2002) by codemac on Wednesday September 28, 2022 @06:04PM (#33013862)
ChromeOS uses it as well to proxy files between containers.