Re: [Linux-usb-users] usb-storage and partition tables

2002-05-26 Thread Jens Müller
"Stephen J. Gowdy" <[EMAIL PROTECTED]> writes: > I tried this with a SanDisk SDDR-31 and always get an error with eject. > For example; > > [root@antonia linux-2.5.18]# eject /dev/sda > eject: unable to eject, last error: Invalid argument That did not work here, either, but $ eject sda worked.

Re: [Linux-usb-users] usb-storage and partition tables

2002-05-26 Thread Stephen J. Gowdy
I tried this with a SanDisk SDDR-31 and always get an error with eject. For example; [root@antonia linux-2.5.18]# eject /dev/sda eject: unable to eject, last error: Invalid argument Is this really doing what you think even with an error produced? (I'm running kernel 2.4.18-4 (from RH), the bui

Re: [Linux-usb-users] usb-storage and partition tables

2002-05-26 Thread Jens Müller
Jacek Pliszka <[EMAIL PROTECTED]> writes: >> Well, I will probably hotplug agent for that, then. >> >> It doesn't do any harm to do it every time the cam is disconnected, >> does it? > > Should be fine. Though this won't solve the problem completely > as in many cases you want to swap the card w

Re: [Linux-usb-users] usb-storage and partition tables

2002-05-26 Thread Jacek Pliszka
On Sun, 26 May 2002, Jens Müller wrote: > Well, I will probably hotplug agent for that, then. > > It doesn't do any harm to do it every time the cam is disconnected, > does it? Should be fine. Though this won't solve the problem completely as in many cases you want to swap the card without disc

Re: [Linux-usb-users] usb-storage and partition tables

2002-05-26 Thread Jens Müller
Jacek Pliszka <[EMAIL PROTECTED]> writes: > Use eject /dev/sd... before you try to mount the next card. > > Devices do not signalize the card change so there is no way > usb-storage driver could find it out. Well, I will probably hotplug agent for that, then. It doesn't do any harm to do it eve

Re: [Linux-usb-users] usb-storage and partition tables

2002-05-26 Thread Jacek Pliszka
On Sun, 26 May 2002, Jens Müller wrote: > I used it successfully for several weeks with a 16 MB SM card. > > Yesterday I replaced the card by a 128 MB one. > > It seems as if the partition table does not get re-read. It becomes FAQ. Use eject /dev/sd... before you try to mount the next card.

[Linux-usb-users] usb-storage and partition tables

2002-05-26 Thread Jens Müller
I have an Olympus C40 cam. I used it successfully for several weeks with a 16 MB SM card. Yesterday I replaced the card by a 128 MB one. Linux did not want to mount it. After a reboot it worked. It seems as if the partition table does not get re-read. Isn't there a kernel function to re-read