ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7250 w/USB dev system

To:
Subject: [ts-7000] Re: TS-7250 w/USB dev system
From: "charliem_1216" <>
Date: Fri, 28 Sep 2007 16:01:31 -0000
Hi --

--- In  "Anouk Ahamitet" <> 
wrote:
>
> Every time I cycle power (or disconnect the USB memory stick) it 
seems
> to reset the time of the last fsck to over 49,000 days ago (that's
> sometime in the late 1800s, by the way).  It seems that everything 
> I
> write to the disk is saved (and yes, I'm always careful to either
> shutdown the system, or at least umount the USB before 
disconnecting it).

This is correct, if you do not have a battery backed RTC (although 
usually it goes to something like 1-Jan-1969).  When the drive is 
fsck'd on startup, you don't have a valid system time/date yet, so 
the wrong (earlier) 'last checked' date is written to the FS at the 
end of the fsck.

Check this, and fix it, with the tune2fs command.  You could, for 
example, do: "tune2fs -T now /dev/yourdevice" after you unmount the 
USB stick, when you _do_ have a valid system date.  This will write 
the valid time in the ext2 metadata.

Or you could simply do: "tune2fs -i 0 /dev/yourdevice", which will 
disable the time based fsck'ing on mount.  If you do this, you 
should still keep a fsck trigger based on number of mounts though, 
instead.

> Also, while I'm here, I see these three mysterious 'find' warnings
> when I run "sh loadUSB.sh" and am wondering if anyone can point me 
> the right place to fix them:
> 
> find: warning: you have specified the -maxdepth option after a
> non-option argument -perm, but options are not positional 
(-maxdepth
> affects tests specified before it as well as those specified after
> it).  Please specify options before other arguments.

Sorry, no idea.  Maybe start by looking at loadUSB.sh, and see what 
is called 3 times?  

Regards, ....... Charlie




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU