Can a same disk be temp for windows and linux?

0

0

Is it possible to make a SSD be temp and virtual memory for both windows and linux, without wasting half of the size for the other OS, and be SSD-friendly?

l4m2

Posted 2019-04-07T04:40:07.623

Reputation: 101

2Did you mean the swap partition or the tmpfs (/tmp, /run)? – Biswapriyo – 2019-04-07T05:13:32.050

This mat be possible but would be very fiddly (and slow to start) as you would need to get each IS to reformat the partition on startup. Im sure thus could be gacjed into Linux, not so sure on Windows. – davidgo – 2019-04-07T09:41:11.437

@davidgo If it's slow while starting then it seems not SSD friendly? – l4m2 – 2019-04-07T12:17:40.507

@Biswapriyo /tmp and /swap, fine if a hard separation required – l4m2 – 2019-04-07T12:18:48.607

@l4m2 It depends how you define SSD frienfly. Im not sure such a concept is relevant as SSDs have more write cycles then most people think, you have decided to put swap on an SSD anyway, so the additional wear on the drive is not that much - as only the indexing is rewritten, not the whole partition. – davidgo – 2019-04-07T18:58:25.600

@davidgo For temp files friendly should mean no unnecessary erase when space is enough(but may have write for enough times) and averaged usage of disk, which looks possible. If I delete everything temp when starting either os, will it show only half of avaliable space but allow disk averaged used? – l4m2 – 2019-04-08T15:09:10.083

This is probably possible for temp files (at least in linux), but swap is a very different matter. – davidgo – 2019-04-08T19:32:10.447

No answers