eject calls umount so it's expected that the drive in not accessible afterwards.
please be more precise if expect someone else to understand what is happening. (You may also end up answering you own question while doing so.)
hi all,
I have wrote a c program to eject cd's , when i connect a usb cd drive, and run the program, the cd tray peeps out a bit and enter back into the drive... After that when i try to access the drive it is giving error. But if i use the eject command at terminal it works properly...
i use the following code...
.
.
system(eject);
plz help... what could be wrong
thanking in advance...
eject calls umount so it's expected that the drive in not accessible afterwards.
please be more precise if expect someone else to understand what is happening. (You may also end up answering you own question while doing so.)

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1299.99
Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99
IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30
IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00
IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99
Lot of 3 IBM 00JY196 ServeRAID M1210 PCI Express SAS SATA Storage Controller
$68.99