Therefore, it is forbidden to crush salt in its usual manner, because salt does not spoil if it is prepared from yesterday. Therefore, it is forbidden to crush salt on Yom Tov except by means of a shinui, such as crushing it on the table or in a bowl, but not in a mortar. And if it is only possible in a mortar—he should tilt it on its side during the crushing. And so too, if there is a type of spice that does not spoil if it is prepared from yesterday, such as morika which is called saffron, and he knew yesterday that he would need it—he should not prepare it except by means of a shinui like salt. And so too peppers and their like (Magen Avraham subsection 1 in the name of Yam Shel Shlomo, and Bach and Maharil). But garlic certainly spoils, and it is permitted to crush it on Yom Tov. And so too onions and all their like. And some hold that despite all this, even in the crushing of spices one needs a slight shinui, if he knew yesterday that he needed them. And some are concerned even if he did not know (see Magen Avraham subsection 4). And it is proper to be concerned for this, so that because of this he will remember that it is forbidden to crush more than what is needed for Yom Tov (ibid. in the name of the Semag). But the primary ruling is according to the first opinion.
ולכן מלח אסור לדוך כדרכו, מפני שאין המלח מתקלקל אם עושין אותו מאתמול. ולכן אסור לדוך מלח ביום טוב רק על ידי שינוי, כגון שידוך על השולחן או בקערה, אבל לא במכתשת. ואם אי אפשר רק במכתשת – יטנה על הצד בשעת כתישה. וכן אם יש מין תבלין שאינה מתקלקלת אם יעשוה מאתמול, כמו מוריק"א שקורין זאפרע"ן, וידע מאתמול שיצטרך לזה – אין לעשותה רק על ידי שינוי כמלח. וכן פלפלין וכיוצא בהם (מגן אברהם סעיף קטן א בשם ים של שלמה, וב"ח ומהרי"ל). אבל שום וודאי יתקלקל, ומותר לדוכו ביום טוב. וכן בצלים וכל כיוצא בהן. ויש סוברים דעם כל זה גם בדיכת תבלין צריך קצת שינוי, אם ידע מאתמול שצריך להם. ויש חוששין גם אם לא ידע (עיין מגן אברהם סעיף קטן ד). ונכון לחוש לזה, דמפני כך יזכור שאסור לדוך יותר ממה שצריך ליום טוב (שם בשם סמ"ג). אבל העיקר לדינא כדעה ראשונה.