Re: floppy disk

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

 



On Thu, Mar 28, 2002 at 11:48:39AM -0600, David Yang wrote:
> Erik, thanks for the info.  I took a look at the mtools and while it's
> cool, I was looking for a lower-level solution.  The problem is when the
> disk is read in linux, it uses it's cached version rather than the updated
> new version.  Is there a way in the kernel to clear out this cache?  (some
> dentry or inode code?)

Mount with -osync.

Note: unless you're using a Mac or a Sun, you *really* want to use
mtools. The kernel doesn't like a floppy disk that's removed while
still being mounted (yes, users do such nasty things, even when they're
told not to do so). Mtools has no problems with that, and it solves
your cache problems at the same time.


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