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.)
ASUS H170M-PLUS Motherboard M-ATX Intel H170 LGA1151 DDR4 SATA3 HDMI DVI-D VGA
$47.99
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
ASUS P8B75-M/CSM Desktop Motherboard Intel Socket LGA1155 DDR3 w/ IO
$29.99
Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard
$84.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$41.07
ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard w/ I/O Shield
$29.95
Asus H110M-C LGA 1151 DDR4 SDRAM Desktop Motherboard w/ I/O shield
$39.95
GIGABYTE GA-X99-UD4P MOTHERBOARD, M.2 SATA3, LGA2011-3, DDR4, & I/O Shield
$69.99
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$96.01
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$84.96