A question of mounting hdd partitions the ubuntu way
i use ubuntu 10.04 LTS lucid.
In the course of learning with another linux i stumbled upon the issue of auto detecting and auto mounting internal partitions of hdd.
A search on the net reveals a common answer for the same which is
1.create a permanent mount folder,
2.create an fstab entry
and therafter you can see your other partitions of hdd whether windows or non-ubuntu.
This is a common answer you can see on the net and the official answer too.
I am but quite perplexed how ubuntu does the same in a different way and nowhere i found how they do.
1.In lucid i find all partitions are shown on the left side in the file manager.[ auto-detected]
2. when you click the one you want it gets mounted 'on the fly ' and you can see the triangle above a rectangle sign besides the partition name when it gets mounted.[auto-mounted]
3.You click that partition for unmounting, it gets unmounted on the fly.
4. In all these cases i found there is
a. no permanent mount folder created. Rather ubuntu lucid mounts partitions on-the-fly in the media folder. In which it creates a 'temporary folder' carrying the name of the label of the partition or the uuid as i find in my system.
b. As soon as you unmount the same folder vanishes into thin air.
c.No fstab entry is there for the partitions which are thus mounted. My ubuntu fstab has only entries for the parititons created when installing ubuntu viz [root,boot,home,swap]. Yet it mount 2 ntfs partitions this way without an fstab entry. Partitions of a 2nd hdd are also loaded the same way without an entry for them in fstab.
d.Even If you create a new partition in the session, the same gets again seen right on the spot and if clicked gets mounted on the spot.
5 If all non-ubuntu partitions are unmounted the media folder has just two items a folder named floppy0 and a link named floppy. Thus there is no permanent folder for mounting.
Thus this system of ubuntu seems quite different to the most common answer found on the net as i mentioned above earlier to autodetect and automount other partitions.
My question is
1.How ubuntu does this.
2. Can i replicate the same on another linux eg on my arch linux i can see only my arch linux partitions in the filemanager, if i want to see ubuntu partitions i need to go the fstab way. How can i get it done like ubuntu does it? Upon opening the filemanager you see all your other partitions on the left side of the explorer and if you click them they get mounted and unclick they get unmounted.
3.If yes Pls suggest how to do the same.
Tags for this Thread