Re: How to safty unplug a USB Stick
On 12/20/05 07:44 Thomas Linton said the following: Besides umount, to keep the FS consistant, I belive it would be necessary to actually turn off the USB stick before you remove it. With Windows and Linux there is also a way to safety remove -power off- a USB stick. i've just unmounted and then pulled out various usb sticks, CF cards and sony memory sticks and have not seen any filesystem problems when i stick them back in again. never had to use camcontrol eject. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to safty unplug a USB Stick
I don't have FS problems. After a umount the USB stick has still the Power LED on. Under Linux an eject turns the Power LED off. I tried /usr/ports/sysutils/eject without success (freeBSD 5.4) I went a little bit through the source of an linux eject and the *BSD eject. The Linux Verion is using cdrom.h and *BSD cdio.h. I think that both eject's are actually doing the same (*BSD: ioctl(fd,CDIOEJECT); Linux ioctl (fd,CDROMEJECT)). I'm not a kernel/driver programmer, but I think the umass Driver or SCSI Driver (because eject /dev/cd0 also doesn't work ) doesn't accept a CDIOEJECT. On 12/20/05, Dinesh Nair [EMAIL PROTECTED] wrote: On 12/20/05 07:44 Thomas Linton said the following: Besides umount, to keep the FS consistant, I belive it would be necessary to actually turn off the USB stick before you remove it. With Windows and Linux there is also a way to safety remove -power off- a USB stick. i've just unmounted and then pulled out various usb sticks, CF cards and sony memory sticks and have not seen any filesystem problems when i stick them back in again. never had to use camcontrol eject. -- Regards, /\_/\ All dogs go to heaven. [EMAIL PROTECTED](0 0)http://www.alphaque.com/ +==oOO--(_)--OOo==+ | for a in past present future; do| | for b in clients employers associates relatives neighbours pets; do | | echo The opinions here in no way reflect the opinions of my $a $b. | | done; done | +=+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to safty unplug a USB Stick
My USB stick works fine, but I can't figure out how to safty unplug the USB stick. The LED on my stick is always on; if i try camcontrol stop da0 or camcontrol eject da0 it stays on. Under Linux the eject command turns the LED (Power) off. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to safty unplug a USB Stick
Thomas Linton wrote: (already Cc to him) My USB stick works fine, but I can't figure out how to safty unplug the USB stick. The LED on my stick is always on; if i try camcontrol stop da0 or camcontrol eject da0 it stays on. Under Linux the eject command turns the LED (Power) off. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I am not really sure about this but isn't umount your key enough ? If not, I am interested in the solution cause I only mount/unmount my key. No trouble at this point. Regards, Ivan. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to safty unplug a USB Stick
[EMAIL PROTECTED] wrote: Thomas Linton wrote: (already Cc to him) My USB stick works fine, but I can't figure out how to safty unplug the USB stick. The LED on my stick is always on; if i try camcontrol stop da0 or camcontrol eject da0 it stays on. Under Linux the eject command turns the LED (Power) off. I am not really sure about this but isn't umount your key enough ? If not, I am interested in the solution cause I only mount/unmount my key. No trouble at this point. Regards, Ivan. On 5.2/5.3/5.4 I've used umount then camcontrol eject dax. The light always turns off for me. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to safty unplug a USB Stick
Besides umount, to keep the FS consistant, I belive it would be necessary to actually turn off the USB stick before you remove it. With Windows and Linux there is also a way to safety remove -power off- a USB stick. On 12/19/05, Ivan Roth [EMAIL PROTECTED] wrote: Thomas Linton wrote: My USB stick works fine, but I can't figure out how to safty unplug the USB stick. The LED on my stick is always on; if i try camcontrol stop da0 or camcontrol eject da0 it stays on. Under Linux the eject command turns the LED (Power) off. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I am not really sure about this but isn't umount your key enough ? If not, I am interested in the solution cause I only mount/unmount my key. No trouble at this point. Regards, Ivan. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]