Find if file system is already created on the RAW device
Hi
I use mkfs to create ext3 filesystem on the raw device. It a automated process using script, i dont want to create the filesystem (override) when running the script again.
I tried "fsck -n /dev/<device>" and can see the difference b/w the raw device and raw device with filesystem but dnot know how to code in the shell script.
Any suggestion is much appreciated.
thanks,
|