Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: xor on August 07, 2019, 03:56:14 AM

Title: How to redirect folder?
Post by: xor on August 07, 2019, 03:56:14 AM
How to redirect folder?

for example
1. HDD
c: / A / B / C
where "C" folder

2nd HDD
d: / 1/2/3
where you want to redirect to the "3" folder.

how is this done in the Lnx environment !?
Title: Re: How to redirect folder?
Post by: Juanito on August 07, 2019, 04:09:36 AM
Code: [Select]
$ ln -s /mnt/sda1/C /mnt/sdb1/3
Title: Re: How to redirect folder?
Post by: xor on August 07, 2019, 08:23:50 AM
Code: [Select]
$ ln -s /mnt/sda1/C /mnt/sdb1/3

how can I make it permanent
Title: Re: How to redirect folder?
Post by: Juanito on August 07, 2019, 08:27:15 AM
As long as the assignment of your hdd stays the same, it should be permanent.
Title: Re: How to redirect folder?
Post by: xor on August 08, 2019, 06:36:52 AM
Code: [Select]
$ ln -s /mnt/sda1/C /mnt/sdb1/3

Question 2;

simultaneously

1. HDD
c: / A / B / C
From the "C" folder

2. HDD
d: / 1/3/3
"3" folder; place you want to redirect.
3. HDD
e: / x / y / z
"z" folder; place you want to redirect.

What kind of command is used for this?

---

Question 3;

simultaneous
Can HDD-2 and HDD-3 write at the same time?

---

Question 4;

since this command will be in the persistent read-only iso file,
In the absence of one of the 2 HDDs
Can only the existing HDD write directly?
Title: Re: How to redirect folder?
Post by: Juanito on August 08, 2019, 06:50:02 AM
Code: [Select]
$ ln -s /mnt/sda1/C /mnt/sdb1/3
$ ln -s /mnt/sda1/C /mnt/sdc1/z

Yes, you can write to sdb1 and sdc1 at the same time and in the absence of both, you can write to sda1.
Title: Re: How to redirect folder?
Post by: xor on May 12, 2020, 02:42:07 PM
Code: [Select]
$ ln -s /mnt/sda1/C /mnt/sdb1/3
$ ln -s /mnt/sda1/C /mnt/sdc1/z

Yes, you can write to sdb1 and sdc1 at the same time and in the absence of both, you can write to sda1.


what should I do !?

There is not enough space for TEMP on the RAM area!

Driver redirect for ezremaster application fails!

This solution came to my mind, but where am I making a mistake!?

!? :(

tc@box:~$ ln -s /tmp/ezremaster /mnt/sda2
ln: /mnt/sda2/ezremaster: Operation not permitted


Title: Re: How to redirect folder?
Post by: Juanito on May 13, 2020, 01:29:49 AM
Try something like this:
Code: [Select]
$ rm -rf /tmp/ezremaster
$ sudo mkdir -p /mnt/sda2/tmp/ezremaster
$ sudo chown -R tc:staff /mnt/sda2/tmp
$ ln -s /mnt/sda2/tmp/ezremaster /tmp
Title: Re: How to redirect folder?
Post by: xor on May 13, 2020, 11:59:49 AM
Try something like this:
Code: [Select]
$ rm -rf /tmp/ezremaster
$ sudo mkdir -p /mnt/sda2/tmp/ezremaster
$ sudo chown -R tc:staff /mnt/sda2/tmp
$ ln -s /mnt/sda2/tmp/ezremaster /tmp

I recommend updating the "ezremaster" application, folder redirection section in general.