KDirLister keeps mounted devices in use
Michael Brade
brade at kde.org
Thu Jan 16 12:41:50 GMT 2003
On Thursday 16 January 2003 11:06, Lubos Lunak wrote:
> > > Can strstr(ff->fs mntops, "noauto") possibly get some false hits?
> >
> > Sure. Why do you think not?
>
> I think you wanted to say "no, it can't".
No, I misunderstood. I thought you mean "Can blah possibly be false" ;)
> Maybe I'm too pedantic, but what
> if there's a fs with possible option "screw_it_up=noauto" ;) ?
Phew, not that I know of any...
> I'd do const char* pos = strstr( options, "noauto" );
> if( pos != NULL && ( pos == options || pos[ -1 ] == ',' )
> // ok
don't you think it is possible to have something like "noatime, noauto"? ;)
--
Michael Brade; KDE Developer, Student of Computer Science
|-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
°--web: http://www.kde.org/people/michaelb.html
KDE 3: The Next Generation in Desktop Experience
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030116/c51b77d0/attachment.sig>
More information about the kfm-devel
mailing list