Originally posted by zidane1980 at 2008-2-5 01:18 PM:
一看lz就没经历过dos时代
那个时候都是直接关机的
关机之前手动存盘退出程序..
软件关机是win95出现以后的事
ps:
smartdrv有个参数 执行过就可以把write cache里面的数据写回硬盘(如果开了write cache的话)
你说的没错,当时都是直接按关机键关机的。而且那时候根本不存在支持软关机的电源,所以自然也没有软关机的概念。但现在情况已经发生了变化。由于新的机器的电源普遍支持软关机,现在若直接在新电脑上按关机键是不能直接关闭的,必须按6秒钟才行。这功夫还不如直接用程序关机来得快,反正会DOS的基本上都是喜欢敲键盘命令的。而且,清除磁盘缓存也不是光SMARTDRV那么简单(SMARTDRV可以用/C来清除),还有其它的,如LBACACHE、QCACHE等。磁盘缓存多种多样,但关机前很容易忘记手工清除,还不如由软关机程序自动清除,肯定比先清除缓存再按关机键6秒钟快且一次到位,一了百了,安全省事。因此尤其对于新电脑而言,即使是在DOS下软关机也还是具有一定的价值的,否则就不会有DOS下的软关机程序了(而且据我所知还有不少)。
Originally posted by zidane1980 at 2008-2-5 01:18 PM:
At first glance, the LZ has never experienced the DOS era
Back then, people just powered off directly
They manually saved and exited the program before powering off..
Software-powered off is something that appeared after Win95
ps:
There is a parameter for smartdrv. After execution, it can write the data in the write cache back to the hard disk (if write cache is enabled)
What you said is correct. Back then, people just pressed the power button to power off. And there were no power supplies that supported soft power off at that time, so there was naturally no concept of soft power off. But now the situation has changed. Since the power supplies of new machines generally support soft power off, you can't directly power off by pressing the power button on a new computer now; you have to press it for 6 seconds. This time is better spent just powering off using a program. Anyway, most people who know DOS like to type keyboard commands. Also, clearing the disk cache isn't just as simple as SMARTDRV (SMARTDRV can use /C to clear it). There are others, like LBACACHE, QCACHE, etc. There are various disk caches, but it's easy to forget to manually clear them before powering off. It's better to have a soft power off program automatically clear them. It's definitely faster and more straightforward than first clearing the cache and then pressing the power button for 6 seconds. It's safe and convenient. Therefore, especially for new computers, even soft power off in DOS still has some value; otherwise, there wouldn't be soft power off programs in DOS (and I know there are quite a few).