I am working on a script where I make a ext3 filesystem on a disk, the problem is that the script ask user to either say yes or no:
root@ubuntu:/home/school# mkfs.ext3 /dev/sdc
mke2fs 1.42 (29-Nov-2011)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n)
I have tried to put -y before mkfs and after sdc but that didnt work. Do anyone have any solutions to do this without user interaction?