Public bug reported:

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.

** Affects: eject (Ubuntu)
     Importance: Undecided
         Status: New

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to