[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: Device mounting idea..
From:       Graham TerMarsch <gtermars () home ! com>
Date:       1998-07-03 6:54:53
[Download RAW message or body]

Alex wrote:
> Here's a thought.  What if... kdebase had a small app similar to
> kappfinder and would be placed in startkde, that would search out devices
> (perhaps only block devices if they exist on the specific kernel), and
> create "links" for all of them.  Perhaps if a small database of sorts
> could be maintained, then would check to see if the devices in /dev
> (overridable of course) are different from the ones links have been
> generated for.  Somewhat Windowsesque, yes.  The user is still required to
> mount stuff manually, yes.  But this might aid in reducing the confusion
> of newbies perhaps?

Instead of searching through /dev, why not peruse through /etc/fstab and find
any devices that are marked as user mountable?  This way you'll get all the
info you need to set up any mount points/commands, as well as ensuring that
you're only providing ones to the user that they're actually allowed to use.

-- 
Graham TerMarsch

// -----------------------------------------------------------------
// Paul's Law:	You can't fall off the floor.
// -----------------------------------------------------------------
-- 
Send posts to:  kde@lists.netcentral.net
 Send all commands to:  kde-request@lists.netcentral.net
  Put your command in the SUBJECT of the message:
   "subscribe", "unsubscribe", "set digest on", or "set digest off"
**********************************************************************
This list is from your pals at NetCentral <http://www.netcentral.net/>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic