Notices


Reply
Thread Tools
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#11
Originally Posted by MrGrim View Post
Python is installed by default, and i think uninstalling python might break essential system components
It is started everytime a .py file is executed, so there's little chance of not using python at all (it seems to be liked by a lot of devs nowadays)
python was not installed on my n900 until I installed the attitude app. Perhaps you are thinking of perl?

BTW, python is not optified. I think it eats about 15MB.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#12
There is an optified version but it's not in Extras yet.
__________________
maemo blog
 

The Following User Says Thank You to fpp For This Useful Post:
Posts: 279 | Thanked: 95 times | Joined on Sep 2009
#13
although i have uninstalled butterflyplugin this python mounts comes after reboot. how can i remove them from the automount?
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#14
Originally Posted by asidana View Post
although i have uninstalled butterflyplugin this python mounts comes after reboot. how can i remove them from the automount?
You keep writing as though python is a file system that gets mounted. At first, I thought that this might be because of some problem translating to english.

There is no python file system that gets mounted. automount has nothing to do with this.

It is likely that butterfly plugin does not know whether somthing else depends on python, so uninstalling butterfly plugin does not uninstall python.

There is probably some command that uninstalls python.
 
Posts: 279 | Thanked: 95 times | Joined on Sep 2009
#15
probably i am getting terminology wrong. see my first post's firt image. /usr/lib/python2.5 points to same area as home. they were not there untill i install butterfly plugin and tehy didn't removed after i uninstall it. i am trying to figure out how to remove them.

i unmount them but they come back after reboot.
 
Posts: 279 | Thanked: 95 times | Joined on Sep 2009
#16
for example mount command gives


/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)

actual folders they point are empty

Last edited by asidana; 2009-12-13 at 21:16.
 
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#17
Originally Posted by asidana View Post
for example mount command gives


/opt/pymaemo/usr/lib/python2.5 on /usr/lib/python2.5 type bind (bind)
/opt/pymaemo/usr/share/pyshared on /usr/share/pyshared type bind (bind)
/opt/pymaemo/usr/lib/pyshared on /usr/lib/pyshared type bind (bind)
/opt/pymaemo/usr/share/python-support on /usr/share/python-support type bind (bind)
/opt/pymaemo/usr/lib/python-support on /usr/lib/python-support type bind (bind)

actual folders they point are empty
That is strange. Below are the results I get from df -h and mount.
Code:
~ $ df -h
Filesystem                Size      Used Available Use% Mounted on
rootfs                  227.8M    157.3M     66.3M  70% /
ubi0:rootfs             227.8M    157.3M     66.3M  70% /
tmpfs                     1.0M     92.0k    932.0k   9% /tmp
tmpfs                   256.0k     76.0k    180.0k  30% /var/run
none                     10.0M     80.0k      9.9M   1% /dev
tmpfs                    64.0M      4.0k     64.0M   0% /dev/shm
/dev/mmcblk0p2            2.0G     50.6M      1.8G   3% /home
/dev/mmcblk0p1           27.0G      1.7G     25.3G   6% /home/user/MyDocs
/dev/mmcblk1p1            7.5G      2.6G      4.9G  34% /media/mmc1
~ $ mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,bulk_read,no_chk_data_crc)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,noatime,size=1024k)
tmpfs on /var/run type tmpfs (rw,nosuid,noatime,size=256k,mode=755)
none on /dev type tmpfs (rw,noatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime,size=65536k)
/dev/mmcblk0p2 on /home type ext3 (rw,noatime,errors=continue,commit=1,data=writeback)
/dev/mmcblk0p1 on /home/user/MyDocs type vfat (rw,noauto,nodev,noexec,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133,rodir)
/dev/mmcblk1p1 on /media/mmc1 type ext2 (nodiratime)
~ $
 
Posts: 66 | Thanked: 44 times | Joined on Nov 2009
#18
It looks like you have installed some package that was poorly "optified" using bind mounts instead of symbolic links. My guess is that it left some entries in /etc/fstab. If those directories are all empty now then you can just remove the corresponding lines in fstab and be done with it.
 
Posts: 452 | Thanked: 522 times | Joined on Nov 2007
#19
Actually the newest version of Python uses a "Bind" method to mount the /opt folder for python. This is NORMAL behavior for python now. This allows all of Python to appear as if it is in the proper spot; but because it is so large and we don't actually want it in the /usr folder.

Nathan

Last edited by Nathan; 2009-12-14 at 05:37.
 
Posts: 66 | Thanked: 44 times | Joined on Nov 2009
#20
Oh I see. I guess this is in extras-testing now? I'm not seeing it yet.

Why bind mounts instead of symbolic links?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 06:28.