Skip site navigation (1)Skip section navigation (2)
Date:      30 Nov 2004 19:29:22 -0500
From:      Mike Jeays <Mike.Jeays@rogers.com>
To:        Brian Bobowski <bbobowski@cogeco.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: USB Flash Drive
Message-ID:  <1101860962.10293.8.camel@chaucer>
In-Reply-To: <41AC82A4.4080302@cogeco.ca>
References:  <e6ceb9d4041129211472c6503f@mail.gmail.com> <d9175cad041130005157f54651@mail.gmail.com> <41AC82A4.4080302@cogeco.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1101860962.10293.8.camel>