With 0.8~svn20080225-0ubuntu4 when I eject USB removable media as non-root I get:
$ eject /dev/sdg1
eject: unable to open `/dev/sdg1'
# re-insert
$ eject /media/musicplayer
eject: unable to open `/dev/sdg1'
the device still is removed from the mount list in both cases, but I'm not sure if pending blocks were flushed to the device, and I should not be getting the error.
bug NOT fixed in 0.8~svn20080225 -0ubuntu4
With 0.8~svn20080225 -0ubuntu4 when I eject USB removable media as non-root I get:
$ eject /dev/sdg1
eject: unable to open `/dev/sdg1'
# re-insert
$ eject /media/musicplayer
eject: unable to open `/dev/sdg1'
the device still is removed from the mount list in both cases, but I'm not sure if pending blocks were flushed to the device, and I should not be getting the error.
I do NOT get the error if I eject as root