Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Systems > Re: Making exte...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 29 Topic 24328 of 25209
Post > Topic >>

Re: Making external drive non-removable

by Douglas Alan <doug@[EMAIL PROTECTED] > Jul 9, 2008 at 12:45 PM

Tom Stiller <tomstiller@[EMAIL PROTECTED]
> writes:

> In article <V_wck.717$713.428@[EMAIL PROTECTED]
>,
>  Wes Groleau <groleau+news@[EMAIL PROTECTED]
> wrote:
>
>> Douglas Alan wrote:
>> > spinning down, I made a little cron job that cats a file on the disk
>> > every few minutes.  Sometimes, however cat doesn't even see the file.
>> > I.e., it's gone tem****arily missing, while the drive is contemplating
>> > its navel.  (I know for sure this happens, as I get an email from
>> > cron every time that it does.)
>> 
>> Would either of these work?
>> 
>> # one
>> while (your favorite infinite loop method); do
>>    echo "this sucks" > /Volumes/drive/catch
>>    sleep 5 # seconds, not minutes
>>    cat /Volumes/drive/catch > /dev/null
>>    sleep 5 # seconds, not minutes
>> done

This is effectively what I do now, albeit with a longer sleep time.  I
suppose it can't hurt to lower the sleep time.  The symptoms are a bit
strange, as the sleep time I chose is well below the auto-sleep time
for the disk drive.  (Or at least what it's do***ented to be.)  And my
solution worked fine for several months, but then it stopped working
reliably at some point.  I thought the drive might be failing because
of the change in behavior, but I'm able to backup the drive and the
like without any trouble at all.

>> # two
>> touch /Volumes/drive/catch  # make sure the file is there
>> tail -f /Volumes/drive/catch > /dev/null &  # open it and keep it open

That's a good idea.  I'll try that.

> Or start a shell, cd to /Volumes/drive, and minimize the window.

That's also a good idea.  I'll try that too.

|>oug
 




 29 Posts in Topic:
Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-03 15:18:29 
Re: Making external drive non-removable
Gregory Weston <uce@[E  2008-07-03 16:17:32 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-07 14:51:51 
Re: Making external drive non-removable
Wes Groleau <groleau+n  2008-07-07 22:44:05 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-07 22:52:27 
Re: Making external drive non-removable
Jolly Roger <jollyroge  2008-07-07 18:01:12 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-09 12:45:09 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-09 23:18:03 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-10 10:58:52 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-10 15:34:29 
Re: Making external drive non-removable
zit <ttrtilley@[EMAIL   2008-07-04 03:32:42 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-07 15:02:23 
Re: Making external drive non-removable
Simon Slavin <slavins.  2008-07-05 20:36:55 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-05 22:32:56 
Re: Making external drive non-removable
zit <ttrtilley@[EMAIL   2008-07-06 05:20:00 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-07 15:04:13 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-07 15:05:27 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-07 19:36:51 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-07 20:35:38 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-08 00:55:51 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-07 22:42:49 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-08 03:03:43 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-08 01:10:25 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-08 11:21:24 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-08 15:31:22 
Re: Making external drive non-removable
Douglas Alan <doug@[EM  2008-07-09 23:22:12 
Re: Making external drive non-removable
Tom Stiller <tomstille  2008-07-10 10:52:39 
Re: Making external drive non-removable
Wes Groleau <groleau+n  2008-07-07 22:49:28 
Re: Making external drive non-removable
jamiekg@[EMAIL PROTECTED]  2008-07-11 02:45:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 8:01:46 CST 2008.