2006-08-05: Nick White dixit: > So, today I'm trying out lkarmafs, and mostly it's doing what I > ask it.
I'm glad it works for you ;) > I do however have a question. > > Regarding putting the necessary line into the fstab file to > allow "mount" loading of the karma, how do I enable extra > lkarmafs options, such as -G, in the line? I tried just putting > "user,rw,G" in the options section, but unsuprisingly this > didn't work. For the moment, please consider the fstab-based mount possibility just as experimental. I made some of the requiered modifications in lkarmafs-0.1.7, but I didn't dare give it much publicity... A major problem I found was that, at least in my systems, the FUSE script /sbin/mount.fuse is broken; so you've to fix it first. This is most probably why, as you say, 2006-08-05: Nick White dixit: > I'm unable to get the mounting using mount to work at all with > lkarmafs. I suspect this is due to making a mistake somewhere > in the options, but I was wondering if someone could explain > where I'm going wrong. The relevant line in /etc/fstab is: > > lkarmafs#/media/karma /media/lkfs fuse defaults,user,rw 0 0 This line is correct and it should just work. I don't remember the detalis right now, but I think the problem was that "/sbin/mount.fuse" fails to export the caller's HOME, which seems to be needed by fuse. I did a quick fix by replacing the line "export PATH" with: USER=`whoami` HOME=`sed -n s"/$USER:[^:]*:[^:]*:[^:]*:[^:]*:\(.*\):.*$/\1/p" /etc/passwd` export PATH HOME But the whole issue requires further work. As you say, there is no way to especify lkarmafs-proper options (those with capital letters). As a simple solution I was thinking to read the options from a config file (see README, sect. 7). Another problem is that, once mounted, you have to use "fusermount -u" (you can not unmount it with "umount lkarmafsMountPoint"). > Also it would be a good idea mentioning somewhere that the > lkarmafs mounting only works if the binary is put into /usr/bin > (or another folder in the search path). Either that or include > a "make install" option to do the same, as it isn't > particularly obvious to someone unfamiliar with FUSE, and a new > user may not consider it. I thought it was obvious enough ;) O.K. I'll mention it somewhere... May be this all this will go to lkarmafs-0.1.9... Thanks for testing! Regards, EV. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-karma-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-karma-devel
