Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sorry for my not so good English.

I'm preparing a Xubuntu 12.04 Clonezilla image for rapid deployment to new PCs in my company. PCs we are buying may have either HDD or SSD drives. My boss requested that computers with SSD must have TRIM enabled by default. I googled a little and found out that in Linux it's normally done by creating a cron task with fstrim aimed to a mount point. But, if I include this line into my image, computers with HDDs will do fstrim on them too.

So, is it safe for data and for performance? Or do I need a solution to detect drive type (SSD/HDD) and to enable TRIM on SSDs only?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.