USB Flash Drive
Mike Jeays
Mike.Jeays at rogers.com
Tue Nov 30 16:29:24 PST 2004
On Tue, 2004-11-30 at 09:24, Brian Bobowski wrote:
> Eric Kjeldergaard wrote:
>
> >>Yes, put an entry in /etc/fstab for it. e.g.:
> >>
> >>/dev/da0 /flash[1] msdosfs[2] rw
> >>
> >>
> >>
> >
> >Perhaps my card is just unusal, but freeBSD makes a da0s1 node which
> >is the appropriate one to mount.
> >
> >
> >
> You're probably right about that, actually; it's been so long since I
> had the device hooked up that I simply forgot it, like a hard drive,
> would use the slice name schema even though it only appears in the
> console as "daX" when it mounts.
>
> So check the actual contents of /dev for something relating to da0
> before trying this stunt. My mistake, sorry.
>
> -BB
> _______________________________________________
As a follow-up, I have had good success with putting a UFS on flash
drives. They then make a great backup device, and you can keep all the
file permissions with either tar or cp -rp. The latter wastes some
space, but makes it very easy to recover single files.
newfs /dev/da0
mount /dev/da0 /flash
More information about the freebsd-questions
mailing list