Re: floppy disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 28, 2002 at 02:26:13AM -0600, David Yang wrote:
> I'm trying to write a shell that emulates some DOS functionality and one
> thing that would be cool would be to emulate the way DOS handles disk
> reads and writes.  If I mount the floppy drive as SYNCHRONOUS, then I
> get the synchronous writes like in DOS, but I'm encountering an issue
> where if I make a change on the disk (on another computer) without
> umounting, then put it back in the linux/dos combo, it reads the cached
> version instead of the new version.  Is there an elegant solution for
> this?

Yes, it's called GNU mtools (mdir, mcopy, etc). Just integrate them
into your shell wrapper scripts.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Faculty
of Information Technology and Systems, Delft University of Technology,
PO BOX 5031, 2600 GA Delft, The Netherlands  Phone: +31-15-2783635
Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux