NFS_mount_popup

Differences between revisions 1 and 2
Revision 1 as of 2006-11-13 16:10:28
Size: 1115
Editor: pitbull
Comment:
Revision 2 as of 2006-11-15 14:58:07
Size: 2148
Editor: c83-250-245-40
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
While a newly installed Ubuntu desktop is able to do While a newly installed Ubuntu desktop is able to for example do
Line 14: Line 14:
it is will perform very slow and even fail (timeout) without also installing the nfs-common package. This spec suggests to wrap mount ...-t nfs... to send a notification to dbus(?) so that a popup can be present to the user to install nfs-common in case this is not already done. it will perform very slow and even fail (timeout) if the nfs-common package is not installed. This spec suggests to wrap mount ...-t nfs... to send a notification to dbus(?) so that a popup can be present to the user to install nfs-common in case this is not already done.
Line 20: Line 20:
Bring laptop to work and mount the NFS servers there.  * Bring laptop to work and mount the NFS servers there
 * Setup an NFS network at home
Line 24: Line 25:
Increase usability for laptop users. Increase usability for laptop users and people unexperienced with NFS
Line 28: Line 29:
I suggest that the mount command is wrapped to aviod affecting upstream too much since dbus is a new and possibly a slightly Ubuntu specific concept. The wrapper could catch other file system specific actions that would benefit from installing additional packages. The user should be able to make a setting to accept or ignore these suggestions automtically. The dbus event should be catched by a deamon responsible for handling the (lightbulb?) popup and trigger the package installer if the user so chooses.
Line 29: Line 32:

The wrapper could be implemented as a shell scrip or there could be a conditional compile of mount sending dbus events.

The damon is either already existing for similar purposes or written similarily to the Ubuntu update checker.
Line 33: Line 40:

When this wrapper is installed the original mount is renamed to mount-debian or similar and the wrapper installs as /bin/mount. This way all functionality is still preserved and the migration is transparent.

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

  • Launchpad entry: none yet

  • Packages affected: nfs-common, ...?

Summary

While a newly installed Ubuntu desktop is able to for example do

mount 10.1.2.3:/home /home -t nfs -o rw,defaults,nfsvers=3

it will perform very slow and even fail (timeout) if the nfs-common package is not installed. This spec suggests to wrap mount ...-t nfs... to send a notification to dbus(?) so that a popup can be present to the user to install nfs-common in case this is not already done.

Rationale

Use cases

  • Bring laptop to work and mount the NFS servers there
  • Setup an NFS network at home

Scope

Increase usability for laptop users and people unexperienced with NFS

Design

I suggest that the mount command is wrapped to aviod affecting upstream too much since dbus is a new and possibly a slightly Ubuntu specific concept. The wrapper could catch other file system specific actions that would benefit from installing additional packages. The user should be able to make a setting to accept or ignore these suggestions automtically. The dbus event should be catched by a deamon responsible for handling the (lightbulb?) popup and trigger the package installer if the user so chooses.

Implementation

The wrapper could be implemented as a shell scrip or there could be a conditional compile of mount sending dbus events.

The damon is either already existing for similar purposes or written similarily to the Ubuntu update checker.

Code

Data preservation and migration

When this wrapper is installed the original mount is renamed to mount-debian or similar and the wrapper installs as /bin/mount. This way all functionality is still preserved and the migration is transparent.

Unresolved issues

BoF agenda and discussion


CategorySpec

NFS_mount_popup (last edited 2008-08-06 16:21:03 by localhost)