Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).

2023-06-12 Thread plan6
Thanks Ori, I will test your solution too. Maybe it will work with an encrypted 
Linux SSD, which would be a huge plus :)
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-Maa899b92b79be103545a9500
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).

2023-06-12 Thread ori
Quoth pl...@room3420.net:
> 
> Hello :)
> 
> Let's say I have 2 computers.
> I can "sshfs" from 9front to mount the distant (Linux) folders to /n/ssh.
> 
> Let's say now that I have 2 SSD on my laptop.
> One with 9front, that boots automatically and one with 
> Linux, that I can occasionally select at boot with GRUB.
> 
> Is there a way to mount the Linux partitions from 9front, to transfer files ?
> 
> On 9front, 9front is labeled as /dev/sdE0 and Linux is /dev/sdE2. 
> 
> As I'm only testing, the Linux is not currently encrypted.
> 
> Hope that's not a moronic question and thank you for any feedback.

2 ideas:

1. create a fat partition for shared files
2. boot the linux in vmx(1), giving it your hard disk
   as its drive, then serve 9p from the virtualized
   linux.


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-M8a7eea175b825c8eb6621746
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).

2023-06-12 Thread plan6
Just tested. It works perfectly.
Thank you Moody and Sigrid :)
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-M47c091e20adaacc4442c1f50
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] access files from 9front to Linux on the same laptop (2 harddrives).

2023-06-12 Thread Jacob Moody
On 6/12/23 09:29, pl...@room3420.net wrote:
> 
> Hello :)
> 
> Let's say I have 2 computers.
> I can "sshfs" from 9front to mount the distant (Linux) folders to /n/ssh.
> 
> Let's say now that I have 2 SSD on my laptop.
> One with 9front, that boots automatically and one with
> Linux, that I can occasionally select at boot with GRUB.
> 
> Is there a way to mount the Linux partitions from 9front, to transfer files ?
> 
> On 9front, 9front is labeled as /dev/sdE0 and Linux is /dev/sdE2.
> 
> As I'm only testing, the Linux is not currently encrypted.
> 
> Hope that's not a moronic question and thank you for any feedback.
> *9fans * / 9fans / see discussions 
>  + participants 
>  + delivery options 
>  Permalink 
> 

If your linux just uses ext[2-4], you can maybe use sigrid's 
https://git.sr.ht/~ft/ext4srv
If you are doing anything more (like encryption or lvm) you're likely on your 
own.

-
moody


--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-Mcd92c235ef478754862d949e
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


[9fans] access files from 9front to Linux on the same laptop (2 harddrives).

2023-06-12 Thread plan6

Hello :)

Let's say I have 2 computers.
I can "sshfs" from 9front to mount the distant (Linux) folders to /n/ssh.

Let's say now that I have 2 SSD on my laptop.
One with 9front, that boots automatically and one with 
Linux, that I can occasionally select at boot with GRUB.

Is there a way to mount the Linux partitions from 9front, to transfer files ?

On 9front, 9front is labeled as /dev/sdE0 and Linux is /dev/sdE2. 

As I'm only testing, the Linux is not currently encrypted.

Hope that's not a moronic question and thank you for any feedback.
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T094e3f9c85c36a40-M98bde67d8eaa615224298c5f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription