Re: USB Flash Drives

2008-12-14 Thread Wojciech Puchar

Rather than mounting the disks, I find it easier to use the mtools
port (emulators/mtools).  The commands look like the old ms-dos
commands, and include a copy command.



Sorry if unrelated, but is there any way to avoid system crash after ejection of


just like he said - use mtools for DOS-format flashdrives :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB Flash Drives

2008-12-14 Thread Da Rock
On Fri, 2008-12-12 at 01:59 -0700, fixer wrote:
 FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 
 11:05:30 UTC 2007 
 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
 localhost#
 
 
 I just discovered flash drives.  They are very easy to use on Windows.
 I don't know if FreeBSD supports these drives.  But if FreeBSD does,
 I need instructions on how-to-use.  Thanks in advance for anyone who 
 can help.

Check removable disks in the handbook.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB Flash Drives

2008-12-13 Thread Jeff Laine
On Fri, Dec 12, 2008 at 09:39:50PM -0500, Lowell Gilbert wrote:
 fixer ord...@fixer.com writes:
 
  FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
  11:05:30 UTC 2007
  r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
  localhost#
 
 
  I just discovered flash drives.  They are very easy to use on Windows.
  I don't know if FreeBSD supports these drives.  But if FreeBSD does,
  I need instructions on how-to-use.  Thanks in advance for anyone who
  can help.
 
 Rather than mounting the disks, I find it easier to use the mtools
 port (emulators/mtools).  The commands look like the old ms-dos
 commands, and include a copy command.
 

Sorry if unrelated, but is there any way to avoid system crash after ejection 
of 
unmounted USB-storage device? I had a plenty of painful crashes today
after several power losses on my external usb-hdd (ntfs slice mounted, FreeBSD 
7.1-RC1).
It would be nice to have a safety-net here, considering these devices are so 
easilly deatachable by cats and ppl lurking around :)  Any advices?


-- 
Best regards,
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB Flash Drives

2008-12-12 Thread Manolis Kiagias

fixer wrote:
FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 
11:05:30 UTC 2007 
r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

localhost#


I just discovered flash drives.  They are very easy to use on Windows.
I don't know if FreeBSD supports these drives.  But if FreeBSD does,
I need instructions on how-to-use.  Thanks in advance for anyone who 
can help.


Bruce


Have a look at these:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

Generally speaking, using an ms-dos (fat/fat32) formatted flash drive is 
as simple as this:


- plug
- get device name (probably da0) with dmesg |tail
- mount as root in /mnt:  mount -t msdofs /dev/da0s1 /mnt
- Copy / move files etc
- umount /mnt
- unplug

If you read the handbook section, you will also be able to setup your 
system for user mounting, so you won't have to mount as root.

Another useful piece of info is this:

http://www.freebsd.org/gnome/docs/halfaq.html

With these instructions you can configure automounting in GUIs like 
Gnome (and XFCE and possibly others, as long as HAL is used)
Bear in mind that no matter how you mounted the device,   you will have 
to unmount it before physically removing it, otherwise you are in for a 
nasty surprise...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB Flash Drives

2008-12-12 Thread Tyson Boellstorff
On Friday 12 December 2008 05:11:26 Manolis Kiagias wrote:
 fixer wrote:
  I just discovered flash drives.  They are very easy to use on Windows.
  I don't know if FreeBSD supports these drives.  But if FreeBSD does,
  I need instructions on how-to-use.  Thanks in advance for anyone who
  can help.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/usb-disks.html

 Generally speaking, using an ms-dos (fat/fat32) formatted flash drive is
 as simple as this:

 - plug
 - get device name (probably da0) with dmesg |tail
 - mount as root in /mnt:  mount -t msdofs /dev/da0s1 /mnt

the one thing that ought to be added to the mount statement:
use your username -- that way, if you're using something like konqueror, you 
don't have rights issues. I know some use perms and open it up for group or 
world write -- but username helps you keep up good habits, and good habits 
will keep you out of trouble.

It's in the man page -- but here's a reminder:
mount_msdosfs -u username /dev/da1s1 /mnt/usb



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USB Flash Drives

2008-12-12 Thread Lowell Gilbert
fixer ord...@fixer.com writes:

 FreeBSD localhost 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
 11:05:30 UTC 2007
 r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
 localhost#


 I just discovered flash drives.  They are very easy to use on Windows.
 I don't know if FreeBSD supports these drives.  But if FreeBSD does,
 I need instructions on how-to-use.  Thanks in advance for anyone who
 can help.

Rather than mounting the disks, I find it easier to use the mtools
port (emulators/mtools).  The commands look like the old ms-dos
commands, and include a copy command.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org