WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to redirect folder?  (Read 4386 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
How to redirect folder?
« 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 !?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: How to redirect folder?
« Reply #1 on: August 07, 2019, 04:09:36 AM »
Code: [Select]
$ ln -s /mnt/sda1/C /mnt/sdb1/3

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: How to redirect folder?
« Reply #2 on: August 07, 2019, 08:23:50 AM »
Code: [Select]
$ ln -s /mnt/sda1/C /mnt/sdb1/3

how can I make it permanent

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: How to redirect folder?
« Reply #3 on: August 07, 2019, 08:27:15 AM »
As long as the assignment of your hdd stays the same, it should be permanent.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: How to redirect folder?
« Reply #4 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?
« Last Edit: August 08, 2019, 06:47:32 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: How to redirect folder?
« Reply #5 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.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: How to redirect folder?
« Reply #6 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


« Last Edit: May 12, 2020, 02:45:41 PM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14803
Re: How to redirect folder?
« Reply #7 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

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: How to redirect folder?
« Reply #8 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.