I'd like to again broach the issue of prompting for a password when mounting legacy drives from /etc/fstab.
Patch: http://bugzilla.gnome.org/attachment.cgi?id=50425 Bug: http://bugzilla.gnome.org/show_bug.cgi?id=157650 Yes, I understand this is legacy stuff and not new and shiny like HAL and friends, but I believe that this functionality will fill a hole in many large organizations where such SMB, CIFS and other 'legacy' mounts are common place. Now to specifics: The problem of screen scraping... I'm not sure we can get around this. But the current code already does this in a much greater way than just searching for "password:". It parses the mount error messages. I believe this is an artifact of dealing with the legacy 'mount' command. If there's a way around it then that's great, but I haven't been able to come up with one. Note that for many drives listen in /etc/fstab, it's impossible to tell ahead of time whether a password will be required or not. Also because mount uses helper modules to mount smb, cifs, and other such filesystems, it would be very involved to replace that code. The problem of locale. Well because we already do "screen scraping" on the mount commands (to figure out the error codes etc...) the current mount code already runs mount and umount in the "C" locale. The patch may need more work, but I figured I'd wait on the polish. I won't continue working on this if there's no hope of getting it committed. Any thoughts? Cheers, Nate _______________________________________________ gnome-vfs-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
