[Ilugc] Query abut external HDD

  • From: a.kumar@xxxxxxxxxxxxxxxxx (Kumar Appaiah)
  • Date: Fri, 18 Nov 2011 07:20:29 -0600

On Fri, Nov 18, 2011 at 06:26:52PM +0530, Rajagopal Swaminathan wrote:

On Fri, Nov 18, 2011 at 6:10 PM, Kumar Appaiah
<a.kumar at alumni.iitm.ac.in> wrote:
On Fri, Nov 18, 2011 at 04:33:17PM +0530, Rajagopal Swaminathan wrote:
How about using autofs? I'd write a script for autofs which would
check, say the UUID, and then automatically mount it.

However, one thing I wouldn't know is whether this would supercede
the current (udev based) automounting feature; my experience is that
it works well.

Should you need some information on autfs scripts, please let me know.


I would definitely be happy to know more about it.

<greedy>Along with that the issue of permission for exactly one
non-root user.</greedy>

My purpose in doing this is to automount an USB
drive. http://www.autofs.org has much information, but if you want to
mount it using a script, specify a script in the /etc/auto.master
file. For the scripts I adapted, I used this tutorial, which does much
more than what you want, but you should be able to simplify it:

http://www.einval.com/~steve/docs/gpg-autofs.html

Please let me know if you want some more specific information, but the
autofs website should be sufficient; the latter is much more detailed
for a specific task, and mostly unneeded, IMHO.

HTH.

Kumar
-- 
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Monitoring su attempts                         LOST #115

In a multiuser system you may like to monitor all su attempts.
Edit /etc/login.defs and edit SULOG_FILE as follows:
SULOG_FILE    /var/log/sulog   ... (name of file to hold info)

####[usmbish (at) users.sourceforge.net]######################
:

Other related posts: