Re: panic after removing usb flash drive

From: Daniel O'Connor (doconnor_at_gsoft.com.au)
Date: 08/31/05

  • Next message: Yar Tikhiy: "Re: 6.0BETA3 panic in ip_output (vlan/RIP related?)"
    To: Eric Anderson <anderson@centtech.com>
    Date: Wed, 31 Aug 2005 22:55:25 +0930
    
    
    

    On Wednesday 31 August 2005 22:43, Eric Anderson wrote:
    > This is where I think it would be great to have a sort of 'flashfs' -
    > something like a UFS2 filesystem, but read only until a write happens,
    > and all writes would be synchronous, and after the write occurs, the fs
    > goes back to a 'read only' state. Maybe this could be done with
    > gjournal or even unionfs - mount the usb flash read only, do all writes
    > to a memory backed disk, and then flush the writes out to the usb flash
    > periodically. Not perfect, but maybe this will stir some ideas up.

    I think if you can differentiate behaviour for normal file systems based on
    some information about the device then it would be good.

    ie if it is a removable type device the default behaviour would be to disable
    write caching and mount it synchronously. Coupled with a kernel that is
    willing to throw away pages dirtied on such a volume you would be able to
    readily hot plug a device without too much worry about data loss.

    -- 
    Daniel O'Connor software and network engineer
    for Genesis Software - http://www.gsoft.com.au
    "The nice thing about standards is that there
    are so many of them to choose from."
      -- Andrew Tanenbaum
    GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
    
    



  • Next message: Yar Tikhiy: "Re: 6.0BETA3 panic in ip_output (vlan/RIP related?)"

    Relevant Pages

    • Re: Hotplug update stopped USB Automount - 9.1 64bit
      ... > USB flash drive/mp3 player and it would mount automatically. ... Before this update, I could stick in a memory stick, open "My ... I've seen, on a couple different systems, where USB flash drives take 5-10 ...
      (alt.os.linux.suse)
    • Re: usb2 and external hard disk
      ... On Friday 19 December 2003 20:43, Tony Maher wrote: ... > Trying to mount it and got: ... I'm pretty sure the author is Tim J. Robbins so if you get ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)
    • Re: Cant mount cdrom
      ... \> I also have the proper entry in fstab. ... Problem is when I try and do a mount ... Also try booting in verbose mode and perhaps fiddling with the modes using ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-current)
    • Re: Mount DVD-RAM - device entry missing
      ... On Sun, 8 May 2005 22:24, Holger Kipp wrote: ... > whenever I want to mount a DVD-RAM, ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-stable)
    • Re: Mount DVD-RAM - device entry missing
      ... On Sun, 8 May 2005 22:24, Holger Kipp wrote: ... > whenever I want to mount a DVD-RAM, ... for Genesis Software - http://www.gsoft.com.au ...
      (freebsd-stable)