[81] in testers

home help back first fref pref prev next nref lref last post

Re: attach: more bugs

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Fri Jul 14 05:04:35 1989

Date: Fri, 14 Jul 89 05:04:02 EDT
From: Theodore Ts'o <tytso@ATHENA.MIT.EDU>
To: Richard Basch <probe@ATHENA.MIT.EDU>
Cc: testers@ATHENA.MIT.EDU
In-Reply-To: Richard Basch's message of Fri, 14 Jul 89 04:57:31 -0400,
Reply-To: tytso@ATHENA.MIT.EDU
   From: <probe@ATHENA.MIT.EDU>
   Date: Fri, 14 Jul 89 04:57:31 -0400

   Here is my attach.conf:

       nomountpoint	^/etc ^/
       mountpoint	^/mit ^/mnt

   I cannot seem to mount things on /mit/* or /mnt/* with the above
   settings.  It seems that my attempt to lock-out mounts over everything
   but specified directories failed.  Is there any way in which this can be
   done?

Yes; reverse the order of the two keywords.  All will be explained in
the yet to be finished man pages.  Basically attach goes through the
(no)mountpoint commands, and the first regexp to match is how it
determines whether it should be allowed or not.  This means that more
specific regexps should be first, and more general ones should be last.

Also note that if you have nomountpoint ^/, you really don't need ^/etc.

							- Ted


home help back first fref pref prev next nref lref last post