Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Crazy automount solution
- Date: Fri, 21 Jan 2005 22:36:42 +0900
- From: dstibbe <dstibbe@example.com>
- Subject: Re: [tlug] Crazy automount solution
- References: <d8fcc0800501190852557b1fd5@example.com> <1106191780.32527.213149290@example.com> <d8fcc080050120041266002bdc@example.com>
- User-agent: Mozilla Thunderbird 0.8 (X11/20040913)
Josh Glover wrote: >On Thu, 20 Jan 2005 12:29:40 +0900, Semi Malinen <semi@example.com> wrote: > > > >>On Wed, 19 Jan 2005 11:52:46 -0500, "Josh Glover" <jmglov@example.com> >>said: >> >> >> >>>On my local LUG (COLUG, the Central Ohio Linux Users Group) mailing >>>list, some chap posted about how he could get his USB hard drive to >>>automount. I thought several of you on this list might be amused by or >>>interested in my solution: >>> >>> >>That is really neat. This might be a silly question, >>but how do you umount? >> >> > >Without making any changes to the script, you would have to run >'umount /dev/foo' and then unplug the drive before the script wakes >up. > >But that is pretty damned stoopid, if you ask me (and I wish someone >*had* asked me, because I did not think of that). > >I would probably add a new variable: > > INHIBIT_FILE=/tmp/no_automount > >and then wrap the body of the while loop like so: > >if [ ! -e ${INHIBIT_FILE} ]; then > ># foreach loop and the rest of the body of the while loop > >fi # if (no inhibit file exists) > >Kinda kludgy, ain't it? Can anybody think of a better way? > >-Josh "the slightly sheepish" Glover > > > I'm seriously at a loss with what you are trying to explain, do or demonstrate with these 3 lines of code (excluded the comment line).... David
- Follow-Ups:
- Re: [tlug] Crazy automount solution
- From: dstibbe
- References:
- [tlug] Crazy automount solution
- From: Josh Glover
- Re: [tlug] Crazy automount solution
- From: Semi Malinen
- Re: [tlug] Crazy automount solution
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Crazy automount solution
- Next by Date: Re: [tlug] Crazy automount solution
- Previous by thread: Re: [tlug] Crazy automount solution
- Next by thread: Re: [tlug] Crazy automount solution
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links