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?