[ale] USB->IDE problems
James P. Kinney III
jkinney at localnetsolutions.com
Wed Jan 21 13:12:23 EST 2004
I'm not sure, but it does sound vaguely familiar.
The mount command has a sync and dirsync option. It looks like they
force writes to be non-buffered.
On Wed, 2004-01-21 at 12:15, Christopher Fowler wrote:
> I thought there was away you could tell the kernel to send stuff
> directly to disk and not buffer it.
>
> On Wed, 2004-01-21 at 11:48, James P. Kinney III wrote:
> > Ext3 would be a better bet than ext2. The important thing would be a
> > tweak to somehow force frequent sync to avoid file corruption. I don't
> > think that is an hdparm setting. Maybe it could be a cron job
> >
> > if { `grep -c "/dev/sda" /etc/mtab` != 0 }; then
> > sync
> > fi
> >
> > (I wouldn't trust that script with anything as I am sure the syntax is
> > wrong)
> >
> > On Wed, 2004-01-21 at 10:54, Christopher Fowler wrote:
> > > The next question would be how to best deal with file systems of this
> > > nature. Since anyone could unplug the drive ext2 would not be a good
> > > choice. Would ext3 be a good choice? I want to be able to unplug and
> > > plug the device back in without fs corruption.
> > >
> > > On Wed, 2004-01-21 at 10:43, James P. Kinney III wrote:
> > > > _______________________________________________
> > > > Ale mailing list
> > > > Ale at ale.org
> > > > http://www.ale.org/mailman/listinfo/ale
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Ale
mailing list