← Back to team overview

kernel-packages team mailing list archive

[Bug 980472] Re: "Inappropriate ioctl for device" when ejecting USB flash drive

 

[Expired for eject (Ubuntu) because there has been no activity for 60
days.]

** Changed in: eject (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to eject in Ubuntu.
https://bugs.launchpad.net/bugs/980472

Title:
  "Inappropriate ioctl for device" when ejecting USB flash drive

Status in eject package in Ubuntu:
  Expired

Bug description:
  On Ubuntu 12.04 beta 2 (eject version 2.1.5+deb1+cvs20081104-9), when
  I eject a flash drive using "sudo eject", I get this error message:

  not an sg device, or old sg driver
  eject: unable to eject, last error: Inappropriate ioctl for device

  Previously, I had no problems ejecting using the same version of
  eject.  The problem came up when I formatted the flash drive so that
  it would be encrypted.  Also, I change the file system from the
  default (FAT32, I think) to NTFS.  On another drive which I formatted
  to ext4, the same problem occurs -- again, it is now an encrypted file
  system.

  The drive is successfully unmounted, though, since it no longer
  appears under "df".  However, it is still "on" since the light is
  still on.

  "sudo umount" gives no problems.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eject/+bug/980472/+subscriptions