LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   RH9 won't upload recent photos from Olympus camera (https://www.linuxquestions.org/questions/red-hat-31/rh9-wont-upload-recent-photos-from-olympus-camera-88054/)

mohapi 09-01-2003 01:59 PM

RH9 won't upload recent photos from Olympus camera
 
My camera when mounted as /dev/sda1 will only upload photos I thought I'd removed from the camera and not upload the most recent photos. What is going on? Is the computer searching old files and resurrecting them instead or is the camera hiding these old photos on its memory card and I don't know that they are hidden there? Is it poltergist's or maybe collusion between the RH 9 and Olympus daemons?

DrOzz 09-01-2003 09:56 PM

i dont' know if your doing so already, but it sounds like your not unmounting the device after taking the pictures off the first time...if you unplug it without umounting first, then it will show the original pictures even if they dont' exist on the camera...

mohapi 09-01-2003 10:31 PM

[root@localhost 100olymp]# umount /dev/sda1
umount: /mnt/camera: device is busy
Does the above mean that some other file is open, and if so, how do I find and close that file?

rip 09-02-2003 10:13 AM

Quote:

Originally posted by mohapi
[root@localhost 100olymp]# umount /dev/sda1
umount: /mnt/camera: device is busy
Does the above mean that some other file is open, and if so, how do I find and close that file?

Perhaps you are cd'ed into /mnt/camera.
Try doing a cd / then do the umount again.

Q*Bert 09-02-2003 12:20 PM

Won't the lsof command help here?

mohapi 09-03-2003 01:22 AM

My system says;
]# /sbin/lsof
bash: /sbin/lsof: No such file or directory

rip 09-03-2003 06:54 AM

Quote:

Originally posted by mohapi
My system says;
]# /sbin/lsof
bash: /sbin/lsof: No such file or directory

In RH8, it is /usr/sbin/lsof

But looking at your post where you wrote

[root@localhost 100olymp]# umount /dev/sda1

it appears that you are cd'ed into a directory '100olymp' . This looks like a subdirectory on the memory card. I really believe that you cannot umount the device until you cd out of the card. I have an olympus camera also, so I have seen the directory names you see.

Again, try to cd / or cd /tmp to get off of the mounted card, then umount again.

mohapi 09-03-2003 09:17 AM

Thanks Rip. It was in /usr/sbin/lsof, and I'll cd out of the subdirectory.

tree_buddy 10-12-2003 08:05 PM

I am having problems, even when I change the directory. I will still get the device is busy error, even when I couldn't find a way to unmount and I would just turn the camera off. It does not happen all the time and I can't figure out what I do to make it happen.
The output of lsof is as such. How do I stop these (like processes?) and how would they all show up under that same root , /mnt/camera?

fam 2179 root 26r DIR 8,1 16384 12804 /mnt/camera/dcim/100_fuji
fam 2179 root 32r DIR 8,1 8192 1 /mnt/camera
fam 2179 root 61r DIR 8,1 16384 13042 /mnt/camera/.Trash-root


All times are GMT -5. The time now is 10:46 PM.