umass panic

Simon 'corecode' Schubert corecode at
Mon Jul 18 09:05:13 PDT 2005

On 17.07.2005, at 14:15, Joerg Sonnenberger wrote:
 I wouldn't expect good things to happen detaching a drive without
 unmounting it first.
People are used to pulling out flash storage (compact flash, memory 
and the like) without the system going down.  Especially if no 
changes have
been made to the filesystem.
Things like this need to be handled transparent and gracefully, not
panicing.  (This has always been my one of biggest gripes about 
yea, despite that it's not particularly nice to the operating system 
remove devices without telling so first, we have to face this 
I'd even prefer that non-flushed data will be kept (or transferred to 
userland tool), so that if you notice "uh, I didn't umount!" and 
it back, the data can be flushed out...
The problem with this is that USB device don't have UUIDs, unlike
Firewire. So you can't reliable detect that it is the same device, it
might be another USB stick of the same brand afterall.
that's the problem of the user then. I'd just check the superblock or 

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00016.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <>

More information about the Bugs mailing list